JavaScript - Logical constant - false: false
Logical constant - false is used as follows:false
Description
falseOutput
- return - Logical value
Examples
JavaScript
In the source code you can find the equivalent of the above table, for easier orientation at the end of each line is a comment which shows the result.a1 = !false; // a1 = true
a2 = !true; // a2 = false
JavaScript
Other pieces of example codes:y= false
falsej > 128 || false
falsefalse || false
false && false
You can find it in the following collections: constants
Logical constant - false in another programming language:
Differences to: