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

JavaScript valueOf() Method


Math Object Reference JavaScript Math Object

Definition and Usage

The valueOf() method returns the primitive value of a Math object.

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

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

Syntax

mathObject.valueOf()


Math Object Reference JavaScript Math Object

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