javascript if equals or 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: equal to or more than javascript
//Equal to or more than
a >= b
//Equal to or less than
a <= b
Example 3: === javascript
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"