var authorString = authors.reduce(function(prevVal,currVal,idx){ return idx == 0 ? currVal : prevVal + ', ' + currVal; }, '') console.log(authorString);