新增常用的4个方法

(1)map --映射

ES6中的新增数组的方法

 

 (2)reduce --汇总

ES6中的新增数组的方法

 

 (3)filter --过滤

ES6中的新增数组的方法

 

 4)forEach --迭代

ES6中的新增数组的方法

 

相关文章: