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