Sha256: cb239942f1edce736134cda6bfa017980f8875f0128f53dce90153a250d697cd

Contents?: true

Size: 693 Bytes

Versions: 264

Compression:

Stored size: 693 Bytes

Contents

/** Used for built-in method references. */
var arrayProto = Array.prototype;

/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeJoin = arrayProto.join;

/**
 * Converts all elements in `array` into a string separated by `separator`.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Array
 * @param {Array} array The array to convert.
 * @param {string} [separator=','] The element separator.
 * @returns {string} Returns the joined string.
 * @example
 *
 * _.join(['a', 'b', 'c'], '~');
 * // => 'a~b~c'
 */
function join(array, separator) {
  return array == null ? '' : nativeJoin.call(array, separator);
}

module.exports = join;

Version data entries

264 entries across 262 versions & 29 rubygems

Version Path
clapton-0.0.12 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/lodash/join.js
clapton-0.0.1 lib/clapton/javascripts/node_modules/lodash/join.js
immosquare-cleaner-0.1.47 node_modules/lodash/join.js
immosquare-cleaner-0.1.46 node_modules/lodash/join.js
immosquare-cleaner-0.1.45 node_modules/lodash/join.js
immosquare-cleaner-0.1.44 node_modules/lodash/join.js
boring_generators-0.14.0 tmp/templates/app_template/node_modules/lodash/join.js
immosquare-cleaner-0.1.43 node_modules/lodash/join.js
immosquare-cleaner-0.1.42 node_modules/lodash/join.js
immosquare-cleaner-0.1.41 node_modules/lodash/join.js