deno.land / x / lodash@4.17.19 / npm-package / join.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/** 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;
lodash

Version Info

Tagged at
3 years ago

External Dependencies

No external dependencies 🎉