Section 24.139. Number.valueOf( ): return the primitive number value


24.139. Number.valueOf( ): return the primitive number value

ECMAScript v1: Overrides Object.valueOf( )

24.139.1. Synopsis

number.valueOf( )

24.139.1.1. Returns

The primitive number value of this Number object. It is rarely necessary to call this method explicitly.

24.139.1.2. Throws

TypeError

If this method is invoked on an object that is not a Number.

24.139.2. See Also

 Object.valueOf( ) 




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net