less than or equal js code example

Example 1: less than or equal js

>= // greater than or equal 
<= // less than or equal
> // greater than
< // less than
== // equals
=== // strictly equals
!= // not equals
!== // stricly not equals

Example 2: javascript greater than or equal to

The greater than or equal operator ( >= ) returns true if the left operand is greater than or equal to the right operand, and false otherwise.

Example 3: not equal to sign in js

let a=12
if(a!=5){
  console.log(true)
}
since a is not equal to 5, it will print true

Example 4: less than equal to in javascript

| <= | less than or equal to |	x <= 8 | true |

Example 5: javascript not equal

0 !== "0"
0 !== 0

Tags:

Misc Example