Easy Tutorial
❮ Prop Area Protocol Jsref Search ❯

JavaScript Boolean constructor Property

JavaScript Boolean Object

Example

Return the function that created the prototype of the myvar object:

Result output:


Definition and Usage

The constructor property returns a reference to the Boolean function that created the object.


Browser Support

All major browsers support the constructor property.


Syntax

Technical Details

Return Value: Function object. Returns the function prototype that created the Boolean object.
JavaScript Version: 1.1
--- ---
❮ Prop Area Protocol Jsref Search ❯