Web space - A Array.join() (Method) The result of this

A Array.join() (Method) The result of this method will be a String primitive containing the array elements interposed with separators. The elements in the array are converted to strings and are concatenated together to form a larger string. Each element has the separator value placed between it and the next element. If the separator is not specified, then a single comma is used to join the array elements. This means that if you want no separation between the joined items you should pass an empty string as the separator value. Example code: See also: Array.prototype, Cast operator, String concatenate (+), String.split()

Leave a Reply