Method 1

Array.prototype.slice.apply(arrObj);
Copy the code

Method 2

Array.prototype.slice.call(arrObj);
Copy the code

Methods 3

 [].slice.apply(arrObj);
Copy the code

Methods 4

 [].slice.call(arrObj);
Copy the code
Method # # # 5 (Es6)Copy the code
 Array.from(arrObj);
Copy the code
# # # 6 (Es6) methodCopy the code
newArrObj = [...arrObj];
Copy the code