redux

reduce

reduce() 方法接收一个函数作为累加器(accumulator),数组中的每个值(从左到右)开始合并,最终为一个值。

原文地址:https://www.cnblogs.com/yingwo/p/6027456.html