convert comma separated string to array in js code example
Example: javascript array to comma separated string
var colors = ["red", "blue", "green"];
var colorsCSV = colors.join(","); //"red,blue,green"
var colors = ["red", "blue", "green"];
var colorsCSV = colors.join(","); //"red,blue,green"