array.reduce(function(prev,value,index,array){},init);. 先讲init,遍历一开始的时候,会执行回调 ... reduce用法差异比较大,细节基本上都不同。
確定! 回上一頁