Skip to content

Instantly share code, notes, and snippets.

@robertu7
Last active August 29, 2015 14:24
Show Gist options
  • Save robertu7/4772b341a99260212594 to your computer and use it in GitHub Desktop.
Save robertu7/4772b341a99260212594 to your computer and use it in GitHub Desktop.
Check a number is NaN
function _isNaN(val){
return val !== val
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment