November 2001
Intermediate to advanced
936 pages
68h 43m
English
Boolean.toString( ) — convert a boolean value to a string
JavaScript 1.1; JScript 2.0; ECMAScript v1
Overrides Object.toString( )
b.toString( )The string “true” or “false”, depending on
the value of the primitive boolean value or Boolean object
b.
TypeError
If this method is invoked on an object that is not a Boolean.