Logical entities always evaluate as a Boolean result.
Logical entities are used to form conditions and control branching among other uses. They are often used to hold state information or control switches. A logical entity may be the result of a relational expression or the use of one or more logical operators. A logical entity may be the result of enquiring the property of an object that returns a Boolean value as a result. Logical entities can only contain a true or false value.
Prev | Home | Next |
Logical constant | Up | Logical expression |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |