w3schools logical operators code example
Example 1: less than or equal to javascript
if(a <= 5){
yourFunction();
}
Example 2: === javascript
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"
if(a <= 5){
yourFunction();
}
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"