Language types
Boolean language type
Boolean contains exactly true and false. A Boolean value is distinct from a string that spells either word. Conversion of other types follows truthiness rules; ordinary objects are truthy.
Formal Syntax & Structure
javascript syntaxjavascript
true; false;Working Example
Example Snippetjavascript
console.log(true === "true");