Last active
August 29, 2015 14:19
-
-
Save web20opensource/e76e87feb9b3dc939d68 to your computer and use it in GitHub Desktop.
polyfill_Number.isNaN
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
/*check mdn Number.isNaN*/ | |
/*mdn example*/ | |
Number.isNaN = Number.isNaN || function(value) { | |
return typeof value === "number" && value !== value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mdn example