Array.from()
Array.from()
静态方法从
可迭代
或
类数组
对象创建一个新的浅拷贝的数组实例。
转换
异步的可迭代
对象到数组,可以使用
Array.fromAsync()
。