var arr = "1, 2, 3, 4, 5, 6"; arr.split(","); // ["1","2","3","4","5","6"]
var str = [1, 2, 3, 4]; str.join(","); // "1, 2, 3, 4"