Reduce is a well named method. It takes an array and reduces it to a single value.( or fold, or accumulate ). It takes a function as its first parameter.
確定! 回上一頁