It will convert all elements in the array into a string separated by the separator.
array
separator
1.0.0
join([1, 2, 3]);// => "123" Copy
join([1, 2, 3]);// => "123"
join([1, 2, 3], ",");// => "1,2,3" Copy
join([1, 2, 3], ",");// => "1,2,3"
It will convert all elements in the
array
into a string separated by theseparator
.