加载中...

Array.from()

1、可以通过Array.from转换为数组
console.log(Array.from('str'));
2、可转换为数组:所有可遍历的
字符串、Set、Map、Nodelist、arguments
3、

posted @ 2021-10-27 19:44  莫等闲O(∩_∩)O~~  阅读(105)  评论(0)    收藏  举报