Joins all elements of the array into a string; optionally, each element is separated by delimiter.
Returns the string containing the joined elements and delimiters.
Parameters
Optionaldelimiter: string
A string used to separate each element of the array. If omitted, the array elements are separated with a comma.
Joins all elements of the array into a string; optionally, each element is separated by delimiter. Returns the string containing the joined elements and delimiters.