JavaScript Array ValueOf ()
// The valueOf() method returns the array itself.
// The valueOf() method does not change the original array.
const fruits = ["Banana", "Orange", "Apple", "Mango"];
const myArray = fruits.valueOf(); //Banana,Orange,Apple,Mango
Tiny Coders