javascript minor or equal code example Example 1: less than or equal to javascript if(a <= 5){ yourFunction(); } Example 2: javascript not equal 0 !== "0" 0 !== 0