compare two string in if statement with logical && operator code example
Example 1: less than or equal to javascript
if(a <= 5){
yourFunction();
}
Example 2: equal to or more than javascript
//Equal to or more than
a >= b
//Equal to or less than
a <= b