-
Notifications
You must be signed in to change notification settings - Fork 5
join
Subhajit Sahu edited this page Nov 20, 2022
·
15 revisions
Join values together into a string.
function join(x, sep)
// x: an array
// sep: separator [,]
const array = require('extra-array');
var x = [1, 2];
array.join(x);
// → "1,2"
array.join(x, " : ");
// → "1 : 2"