Javascript as a Programming language it has its uniques comparison Operators that can be used to compare Number or strings
Remember the Operation always returns a boolean.
<
less than<=
less than or equal to>
greater than>=
greater than or equal to===
identity to==
equal to!=
not equal to!==
not identical to
When comparing strings, those operators check for the letter ordering, encoded in Unicode. The bigger the letter value, the bigger the letter is to the operator when comparing.
|
|