JavaScript Reference/Javascript Methods/join
"join()" Example
<html>
<body>
<button onclick="var myA = new Array(10,11,12); alert(myA.join("---"));">
Array Join
</button>
</body>
</html>
"join()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Array |
+----------------+--------------------------------------------------------------+
"join()" Syntax, Parameters and Note
Note:
Joins all array elements into a single string separated by the specified delimiter.
Syntax:
arrayName.join(param1)
Parameters:
param1 Required; the delimiter to use.