首先reduce是Array的一个方法。const array1 = [1, 2, 3, 4];const reducer = (accumulator, currentValue) => accumulator + currentValue;// 1 + ...
確定! 回上一頁