JavaScript Array valueOf() method
returns the primitive value of the object

valueOf() method returns the primitive value of an array after converting an array object.

valueOf() method does not accept any parameter.

valueOf() method returns the value of all the elements of the original array.

valueOf() is the default method of the Array Object.

valueOf() method returns the array itself.

valueOf() method will not change the original array.

syntax description
return the primitive value of myArray
myArray.valueOf()