Use the Array.reduce() method to iterate over the array. · Set the initial value in the reduce method to 0 . · On each iteration, return the sum ...
確定! 回上一頁