Join
var x = [1,2,3].join("");
console.log(typeof x);
console.log(x)
Split
var text = "1,2,3";
var array = text.split(",");
console.log(array);
solved How to convert an array into a string in javascript without the use of ‘string()’ function? [closed]