Last active
August 4, 2016 10:32
-
-
Save bh-lay/6628ca38a2594abaa928f061c48063dc to your computer and use it in GitHub Desktop.
判断输入值是否为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
| // 判断输入值是否为NaN | |
| function isNaN( input ){ | |
| return input !== input; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment