Created
March 12, 2015 08:50
-
-
Save gladkih/e0c68b0910b2a0c71fe5 to your computer and use it in GitHub Desktop.
Check variable for NaN.
This file contains hidden or 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
var realIsNaN = function(value) { | |
return typeof value === 'number' && isNaN(value); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment