-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
_.isNaN
returns true for whatever created with new Number()
instead of just NaN
and new Number(NaN)
#2257
Comments
I don't understand what you're trying to say. |
_.isNaN
returns true for whatever created with new Number()
instead of just NaN
and new Nubmer(NaN)
_.isNaN
returns true for whatever created with new Number()
instead of just NaN
and new Number(NaN)
I don't know if his proposed solution will work. But, if |
Feel free to send a PR with the change to |
If we change the code to |
Since
|
If
_.isNaN
is intended to returntrue
for onlyNaN
andnew Number(NaN)
, I think in line1304
,obj !== +obj
should be replaced withobj != +obj
.Correct me if I'm wrong : )
The text was updated successfully, but these errors were encountered: