首页 > Array.from 中有一句话 只要是部署了Iterator接口的数据结构,`Array.from`都能将其转为数组。
部署了Iterator接口的数据结构,什么是Iterator接口,以及怎么判断有没有Iterator接口的数据结构
收好:https://developer.mozilla.org...迭代器