type of not equal to false in javascript code example
Example 1: javascript if not
var isDay = false;
if (!isDay) { //Will execute if isDay is false
console.log("It's night");
}
Example 2: === javascript
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"