Joins values together.
npm install @extra-array/join.minJoins values together.
:package:
:smiley_cat:
:running:
:vhs:
:moon:
:scroll:
:newspaper:
:blue_book:
> Similar: [concat], [join].
> This is part of package [extra-array].
[extra-array]: https://www.npmjs.com/package/extra-array
> This is browserified, minified version of [@extra-array/join].
> It is exported as global variable array_join.
> CDN: [unpkg], [jsDelivr].
[@extra-array/join]: https://www.npmjs.com/package/@extra-array/join
[unpkg]: https://unpkg.com/@extra-array/join.min
[jsDelivr]: https://cdn.jsdelivr.net/npm/@extra-array/join.min
``javascript`
array.join(x, [sep]);
// x: an array
// sep: separator (,)
`javascript
const array = require("extra-array");
var x = [1, 2];
array.join(x);
// "1,2"
array.join(x, " : ");
// "1 : 2"
``
- Array.prototype.join: MDN web docs
- _.join: lodash
[concat]: https://github.com/nodef/extra-array/wiki/concat
[join]: https://github.com/nodef/extra-array/wiki/join