JavaScript 1.1; JScript 2.0, ECMAScript v1
Overrides Object.valueOf( )
number.valueOf( )
The primitive number value of this Number object. It is rarely necessary to call this method explicitly.
TypeError
If this method is invoked on an object that is not a Number.
Object.valueOf( )