Boolean literal (Primitive value)

A literal constant whose type is a built-in primitive value.

Availability:

ECMAScript edition - 2
Property/method value type:Boolean primitive

Boolean literals specify constant values for the true and false values used in relational expressions and are the only two values a Boolean primitive or object can resolve to.

See also:false, Implicit conversion, Literal, Token, true

Cross-references:

ECMA 262 edition 2 - section - 7.7.2

ECMA 262 edition 3 - section - 7.8.2