将伪数组转换为数组的方法

1、Array.from() 方法

2、sArr.slice() 当参数为空时将把整个数组(或者伪数组)中的内容作为一个新数组返回。

原文地址:https://www.cnblogs.com/Mr-Car/p/10785328.html