伪数组

117 阅读1分钟

伪数组转换成数组

1.Array.prototype.slice.apply(arr) 2. ...a(展开运算符可以将伪数组转换成真正的数组)