Grammar >
Boolean
javascript Boolean Description
A Boolean object represents any value that evaluates to true or false . By and large, you don't have to worry about the Boolean object becau
javascript Boolean constructor
This is a reference to the function that created the instance of a Boolean objectthe native Boolean( ) constructor function in browsers.
javascript Boolean prototype
This is a property of the static Boolean object. Use the prototype property to assign new properties and methods to future instances of a Boolea
javascript Boolean toString( )
Returns the object's value as a string data type. You don't need this method in practice, because the browsers automatically convert Boolean values
javascript Boolean valueOf( )
Returns the object's value as a Boolean data type. You don't need this method when you create Boolean objects by simple value assignment.
Powered by Linode.