array.reduce(function(accumulator, currentValue) {. 4. return accumulator + currentValue;. 5. }, 0); // 36 + 25 + 6 + 15 = 82. javascript reduce sum.
確定! 回上一頁