Skip to content

join

join(array, separator)

Joins all elements of array into a string, separated by the specified separator.

ts
join([1, 2, 3], ", "); // "1, 2, 3"
ts
pipe([1, 2, 3], join(", ")); // "1, 2, 3"