.valueOf() method returns the value of all the elements of the original array.
Create a new array with the same elements as
Note: This method will not change the original array. However, if the original array or the variable which holds it (using the
.valueOf() method) is manipulated, the value of the array will change accordingly.