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
_.pairs and maps #2517
Comments
I would be up for working on this. Are you thinking this would just add a |
Yep! I was thinking just for maps at the moment using |
add support for maps within _.pairs method by returning array of map entries
Looks like there are several compatibility issues with different versions of node. in I think the best way to handle it is to iterate from 0 to |
fyi I created poll to see what folks expected the behavior of maps to be. |
Why would it be |
That's what the current draft spec has as its behavior. |
Well, I should have read the spec. I was expecting something like the Reflect API, were it's just what |
Ya, I think it's kinda goofy for a method called |
Special case of #2147. |
I was working with maps and reached for a
_.pairs
method to get its key-value pairs and thought it would be handy to support.The text was updated successfully, but these errors were encountered: