JavaScript – Working with Data Types
JavaScript has 8 Datatypes: String, Number, Bigint, Boolean, Undefined, Null, Symbol, and Object.
JavaScript has 8 Datatypes: String, Number, Bigint, Boolean, Undefined, Null, Symbol, and Object.
The Boolean constructor property returns the function that created the Boolean prototype.
The Boolean prototype property allows you to add new properties and methods to existing booleans.
The Boolean toString() method returns a string from the boolean.
The Boolean valueOf() method returns the primitive value of a boolean.