Literals
Boolean literal
The lowercase literals true and false denote the two Boolean values. Quoting either token creates a string rather than a Boolean.
Formal Syntax & Structure
javascript syntaxjavascript
true | falseReturn Value
boolean
Either true or false.
Working Example
Example Snippetjavascript
console.log(false);