摘要: 1. Array.from() Array.from方法用于将两类对象转为真正的数组:类似数组的对象(array-like object)和可遍历(iterable)的对象(包括 ES6 新增的数据结构 Set 和 Map)。实例1:let obj = {... 阅读全文
posted @ 2017-12-04 16:23 Newman·Li 阅读(118) 评论(0) 推荐(0)