javascript check if not equal 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 not equal
0 !== "0"
0 !== 0
var isDay = false;
if (!isDay) { //Will execute if isDay is false
console.log("It's night");
}
0 !== "0"
0 !== 0