Previous Topic: String Concatenation OperatorNext Topic: Equality and Comparison Operators


Logical Operators

The interpreted language uses the following logical (or Boolean) operators to combine the outcomes of Boolean functions or operators.

Operator

Description

&&

Logical AND

||

Logical OR

!

Logical NOT

Logical operators return True or False. They recognize null, 0, "", or undefined as False and any other non-zero operand as True.