摘要:
高阶函数 1. 函数可以接受另一个函数作为参数 称为 高阶函数。 2. map : arr.map(pow); 数组.map(函数); 3. reduce :arr.reduce(function(){ }); 数组.reduce(函数); 函数必须接受两个参数,返回结果和下一个元素做累计运算。 4 阅读全文
posted @ 2016-10-19 11:29
stone-lyl
阅读(155)
评论(0)
推荐(0)
浙公网安备 33010602011771号