📅  最后修改于: 2022-03-11 15:03:18.998000             🧑  作者: Mango
var authorString = authors.reduce(function(prevVal,currVal,idx){
return idx == 0 ? currVal : prevVal + ', ' + currVal;
}, '')
console.log(authorString);