摘要: 不明白的: 1.0 apply() 2.0 合并数组的几种方法(Array.prototype.push.apply(arr1,arr2))//不理解 3.0 Iterator 接口的对象 4.0 Map 和 Set 结构, Generator 函数 1.0 含义 扩展运算符(spread)是... 阅读全文
posted @ 2019-01-11 19:35 lieaiwen 阅读(1277) 评论(0) 推荐(0) 编辑
摘要: 1.0 forEach 可以遍历得到vaue和index 5.0 普通的for循环 const arr =['a', 'b', 'c', 'd']; for(let i=0;i<arr.length;i++) { console.log(arr[i]); // a b c d } 6.0 Map 处 阅读全文
posted @ 2019-01-11 11:04 lieaiwen 阅读(365) 评论(0) 推荐(0) 编辑