Add up the integers in an array. const numbers = [5, 10, 15]; const total = numbers.reduce( (accumulator, currentValue) => accumulator + ...
確定! 回上一頁