Logical operators work with all data types and return a Logical value. The following table lists the logical operators in order of precedence.
Logical Operators
| Operator | Action | Code |
|---|---|---|
|
|
Expression groups |
|
|
|
Logical negative |
|
|
|
Logical AND |
|
|
|
Logical inclusive OR |
|
Note: |
|---|
| The Not Equal operator ( # ) can be used to perform XOR comparison (such as lVarX # lVarY). |
js editor
Web development
Note: