Boolean (JavaScript)A Boolean in JavaScript is a primitive value that can be either true or false. A Boolean object is a wrapper around a Boolean primitive.See also The JavaScript global object JavaScript data types and data structures