Can I implode an array in jQuery like in PHP?
Use join() method creates and returns a new string by concatenating all of the elements in an array.
Working example
var arr= ['A','b','C','d',1,'2',3,'4']; var res= arr.join('; ') console.log(res);