FANDOM


Programmer's Wiki
This page has been moved to the Programmer's Wiki.
Please do not make any changes or additions to this page.

Any modifications, if still appropriate, should be made on Implode at the Programmer's Wiki.

function implode(sep, arr) {
	return arr.join(sep);
}

Example Javascript UsageEdit

arr1 = new Array("dog", "cat", "mouse");
str2 = implode(".", arr1);
alert(str2); /* Returns: dog.cat.mouse */