Section 24.22. Boolean.valueOf( ): the boolean value of a Boolean object


24.22. Boolean.valueOf( ): the boolean value of a Boolean object

ECMAScript v1: Overrides Object.valueOf( )

24.22.1. Synopsis

b.valueOf( )

24.22.1.1. Returns

The primitive boolean value held by the Boolean object b.

24.22.1.2. Throws

TypeError

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




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