Adds all the elements of an array separated by the specified separator string.
Syntaxjoin([ separator ])
The following example illustrates the use of the join method.
var a, b;
a = new Array(0,1,2,3,4);
b = a.join( "-" ) ;
document.write(b);
Remarks
If any element of the array is undefined or null , it is treated as an empty string.
See also Specification15.4.4.5 Array.prototype.join (separator) ECMAScript® Language Specification Standard ECMA-262 5.1 Edition / June 2011
AttributionsMicrosoft Developer Network: Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4