New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typeof NaN is 'number' #72
Comments
Type of NaN is number. Thanks @chenxianliang |
|
Type of NaN is number. |
I agree with @cfj. |
@cakuki, he says he doesn't think it's in the spirit of the |
Fixed with #79 from @jonhester |
should be
is.number = function(value) {
return toString.call(value) === '[object Number]' && !isNaN(value);
};
???
The text was updated successfully, but these errors were encountered: