Syntax
Boolean.prototype.property
Boolean.prototype.method
The prototype property allows you to add new properties and methods to the Boolean object that can be used throughout your code.
The following example assigns a New Method to the Boolean Object with the prototype Property.