Mega Code Archive
Categories
/
JavaScript Tutorial
/
Array
Array valueOf()
The valueOf() method returns the primitive value of the object. This method returns the array elements separated by commas. If an array contains another array, the contents are flattened when this method is used.