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