comparison in js code example
Example 1: equal to or more than javascript
//Equal to or more than
a >= b
//Equal to or less than
a <= b
Example 2: === javascript
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"
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