JavaScript - Logical constant - false: false
Logical constant - false is used as follows:false
Description
false
Output
- 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
false
j > 128 || false
false
false || false
false && false
You can find it in the following collections: constants
Logical constant - false in another programming language:
Differences to: