-
Notifications
You must be signed in to change notification settings - Fork 0
join
Subhajit Sahu edited this page Dec 28, 2022
·
14 revisions
Join ilists together into a string.
function join(x, sep, asc)
// x: ilists
// sep: separator [,]
// asc: associator [=]
const xilists = require('extra-ilists');
var x = [['a', 'b', 'c'], [1, 2, 3]];
xilists.join(x);
// → 'a=1,b=2,c=3'
xilists.join(x, ', ', ' => ');
// → 'a => 1, b => 2, c => 3'