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.
|
Copyright © 2014 CA.
All rights reserved.
|
|