Array.join() MethodNameArray.join() Method---concatenate the elements of an arrayAvailabilityNavigator 3.0 Synopsis
array.join() array.join(separator) Arguments
ReturnsThe string that results from converting each element of array to a string, and then concatenating them together, with the separator string between elements. Descriptionjoin() converts each of the elements of an array to a string, and then concatenates those strings, inserting the specified separator string between the elements. It returns the resulting string. UsageYou can perform the opposite direction--split a string up into array elements--with the split() method of the String object. |
|