arr.join()
arr.join(list_of_strings, delimiter) returns a single string value that is the concatenation of the strings in list_of_strings, using delimiter as a delimiter.
Returns
if
list_of_stringsis a list of strings anddelimiteris a string, then we concatenate each string inlist_of_stringstogether usingdelimiteras a delimiter.otherwise, returns
null.
Last updated
Was this helpful?