Cheapest web hosting - JavaScript Programmer’s Reference Boolean (Type) A native built-in
JavaScript Programmer’s Reference Boolean (Type) A native built-in type. Availability: Property/method value type: ECMAScript edition 2 Boolean primitive Any object or expression that yields a result of type Boolean represents a logical entity. Logical entities can only represent the trueor false states. These are useful as flags or conditional switches in your script. Data Type, false, Fundamental data type, true, Type See also: Cross-references: ECMA 262 edition 2 section 4.3.14 ECMA 262 edition 2 section 8.3 ECMA 262 edition 3 section 4.3.14 ECMA 262 edition 3 section 8.3 O’Reilly JavaScript Definitive Guide page 41 Boolean literal (Primitive value) A literal constant whose type is a built-in primitive value. Availability: Property/method value type: ECMAScript edition 2 Boolean primitive Boolean literals specify constant values for the trueand false values used in relational expressions and are the only two values a Boolean primitive or object can resolve to. false, Implicit conversion, Literal, Token, true See also: Cross-references: ECMA 262 edition 2 section 7.7.2 ECMA 262 edition 3 section 7.8.2