x == "5" and x === "5" code example Example: less than or equal to javascript if(a <= 5){ yourFunction(); }