Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript array to string with commas

var colors = ["red", "blue", "green"];
var colorsCSV = colors.join(","); //"red,blue,green"
Source by sebhastian.com #
 
PREVIOUS NEXT
Tagged: #javascript #array #string #commas
ADD COMMENT
Topic
Name
3+5 =