prototype  Boolean  class property JS Home  <<  JS Reference  <<  Boolean  <<  prototype

Description

Enables property assignment to objects of type Boolean.

  • Like all class properties prototype should be used on the class rather than an instance of the class.

Syntax

Signature Description
Boolean.prototype;Enables property assignment to objects of type Boolean.

Parameters

None.

Examples

The code below displays Boolean prototype.


alert('Boolean prototype is ' + Boolean.prototype);

Press the button below to action the above code:

Related Tutorials

JavaScript Basic Tutorials - Lesson 9 - Booleans

JavaScript Basics

JavaScript Basics

JavaScript Intermediate

JavaScript Intermediate

JavaScript Advanced

JavaScript Advanced

JavaScript Reference

JavaScript Entities

Globals

Boolean

Class Properties
prototype
Instance Properties
constructor
Class Methods
None.
Instance Methods Getters
None.
Instance Methods Setters
None.

Statements

Operators