function calculateSum(array, property) { const total = array.reduce((accumulator, object) => { return accumulator + object[property]; }, 0); return total; ...
確定! 回上一頁