-
Notifications
You must be signed in to change notification settings 8000 tool-tip> - Fork 7.1k
_.find result not consistent with Underscore.js #15
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
Comments
Nope, you found a bug and a lack of coverage in the Underscore unit tests. The documentation states it should return |
When is this fix going to be pushed to the npm repo? |
There is going to be a version bump tonight. |
That’s what your mom told me the other day. |
@KidkArolis Updated! |
#15] Former-commit-id: e6dc89f98a1df81e1b1d67c5e8f5725e4df3bc5a
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
See jsfiddle here: http://jsfiddle.net/Ln9xc/2/
Underscore.js behaves like so:
While Lo-Dash returns the entire list if it can't find a match:
This was unexpected for me. If this is desired behavior, perhaps add a note?
The text was updated successfully, but these errors were encountered: