javascript is a less than b code example
Example 1: less than or equal to javascript
if(a <= 5){
yourFunction();
}
Example 2: js < less then
const a = 5, b = 2, c = 'hello';
// equal to operator
console.log(a == 5); // true
console.log(b == '2'); // true
console.log(c == 'Hello'); // false