From http://www.w3schools.com (Copyright Refsnes Data)

JavaScript valueOf() Method


Array Object Reference JavaScript Array Object

Definition and Usage

The valueOf() method returns the primitive value of an Array object.

The primitive value is inherited by all objects descended from the Array object.

The valueOf() method is usually called automatically by JavaScript behind the scenes and not explicitly in code.

Syntax

arrayObject.valueOf()


Array Object Reference JavaScript Array Object

From http://www.w3schools.com (Copyright Refsnes Data)