Javascript Boolean reference.
Javascript build-in Boolean object reference.
Create booleans:
Prototype Methods:
Syntax: | toString() |
Returns the string representation of the object which is a primitive string of either 'true' or 'false'. | |
Return value: | The primitive string of the boolean value ('true' or 'false'). |
Prototype Properties:
Syntax: | Boolean.prototype.constructor |
This property of the Bollean.prototype holds the reference back to the Boolean object. | |
Important note: | This is the same as the constructor property of an instantiated object |
Constructor (Boolean) Properties:
Syntax: | Boolean.constructor |
The constructor property is a reference to the function that will be invoked to create a Boolean object. |
© 2010 by Finnesand Data.
All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the
correctness in the pages or source codes.
The risk of using this web-site pages or any program
codes from this website is entirely at the individual user.