Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

show each element of an array in a different line

return dates.replace(",", "
");
// OR 
return dates.split(',').join("
")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #element #array #line
ADD COMMENT
Topic
Name
2+7 =