摘要: 哪些数据结构部署了 Symbol.iteratoer属性了呢? 只要有 iterator 接口的数据结构,都可以使用 for of循环。 数组 Array Map Set String arguments对象 Nodelist对象, 就是获取的dom列表集合 以上这些都可以直接使用 for of 循 阅读全文
posted @ 2020-03-19 11:47 容忍君 阅读(186) 评论(0) 推荐(0)