Array.from

Array.from() 更多数组的操做参考 https://note.v2ee.cn/article?pid=10-1 数组 将类数组(arguments)和可遍历的对象(Set、Map)转化为数组code // arguments function a(){ console.log(Array.from(arguments)); } a('a','ss','dd'); // ['a'
相关文章
相关标签/搜索