摘要: 新增的静态方法 数组新增的静态方法有如下: Array.from() 基本使用 Array.from()可以将类数组或者ES6新增的Set和Map转换为数组对象。 const arrLike = { 0: 'a', 1: 'b', 2: 'c', length: 3 } console.log(Ar 阅读全文
posted @ 2021-03-31 14:46 LiuWango 阅读(324) 评论(0) 推荐(0) 编辑