-
-
Save scriptschat/176fd63a86c01dd90eae763187043b11 to your computer and use it in GitHub Desktop.
Trying to show how NaN behaves in JavaScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//You can directly type this in chrome console for instant output | |
NaN == NaN // false | |
NaN >= NaN // false | |
NaN <= NaN // false | |
typeof(NaN) // number (though it say, it is `not a number`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment