there is a line. how do I split it into an array via separator ",". If you try to split, the same line is returned
var str = "1,2,3,4,5,6";
console.log(str);
console.log(typeof(str));
var name = str.split(",");
console.log(name);
console.log(typeof(name));