The difference between:

1: Class arrays do not have array methods (splice, split, push..) 2: Class Array is a normal object. Array type is ArrayCopy the code

How to implement class array conversion array:

1:Array.prototype.slice.call(arrayLike, start)

2:[...arrayLike]

3:Array.from(arrayLike)
Copy the code