Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js reduce a array of straing

var authors = ['some author', 'another author', 'last author'];
var authorString = authors.join(",");
console.log(authorString);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #reduce #array #straing
ADD COMMENT
Topic
Name
2+8 =