-
Notifications
You must be signed in to change notification settings - Fork 7k
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
curryRight is broken in list.map context #5828
Comments
['id'].map(key => getPropOfObjectCurryR(key)); In your code snippet the second parameter becomes the index of the mapper instead of object. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The curryRight function normally works, but whenever I try and apply it in the map function it fails, complaining that the object is undefined. See the reproducible example below.
Note that is example was run using lodash version
4.17.21
and node version16.19.0
. Note that this is broken for bothlodash
andlodash/fp
.The text was updated successfully, but these errors were encountered: