[0,1,2,3,4] .reduce(function(previousValue,currentValue,currentIndex,array){ return previousValue + currentValue; });
答案 0 :(得分:1)
[0, 1, 2, 3, 4].reduce(
function (previousValue, currentValue, currentIndex, array) {
console.info(arguments);
return previousValue + currentValue;
});