merge
concat(value1, value2,…)
or you can using Concatenating strings (+) operator
document.write(a + b);
split
split(delimiter, [limit])notes:
split()
does not work in Netscape 2 and Explorer 3.Reference:
http://www.quirksmode.org/js/
http://jsforcats.com/
http://www.tutorialspoint.com/javascript/
http://www.w3schools.com/js/default.asp
http://www.2ality.com/2013/06/basic-javascript.html