Skip to content

Conversation

@alexesDev
Copy link

Hello. Gets the value at path of object can be done with reduce. Or you don't like this version?

@alexesDev alexesDev changed the title use reduce to find value Use reduce to gets the value Aug 14, 2018
@alexesDev
Copy link
Author

alexesDev commented Aug 14, 2018

reduce() has fairly poor performance.

developit/dlv#8 (comment)

@alexesDev alexesDev closed this Aug 14, 2018
@alexesDev alexesDev deleted the use_reduce_to_find_value branch August 14, 2018 18:29
@lukeed
Copy link
Owner

lukeed commented Aug 14, 2018

I would have made the same comment — thank you though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants