🔰comparison operator
<, >, <=, >= operators
Last updated
Was this helpful?
<, >, <=, >= operators
Last updated
Was this helpful?
Was this helpful?
JS ⟩ statement ⟩ expression ⟩ operator ⟩ relational ⟩ comparison
<=
is defined to be "not >
".
>=
is defined to be "not <
".
with one exception, if either operand is NaN, the result is always false❗