Create an array of cumulative sum. JavaScript version const accumulate = (arr) => arr.map( ( (sum) => (value) => (sum += value)
確定! 回上一頁