comparison js code example
Example 1: js ===
5 =='5' // true: ignores type
5 === '5' // false: includes type
Example 2: equal to or more than javascript
//Equal to or more than
a >= b
//Equal to or less than
a <= b
Example 3: js comparison operators
Javascript Comparison Operators
== Equal to
=== Equal value and equal type
!= Not equal
!== Not equal value or not equal type
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
? Ternary operator