Skip to content
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

add index to map function #1411

Closed
negatratoron opened this issue Apr 19, 2017 · 2 comments
Closed

add index to map function #1411

negatratoron opened this issue Apr 19, 2017 · 2 comments
Labels

Comments

@negatratoron
Copy link

It's true that indexOf and Object.keys can be used, but it would be highly convenient if the index were passed to the iterator function. The API is not easy for me to imagine, though. It would be easy to pass it to the iterator after the callback.

@ex1st
Copy link

ex1st commented Apr 19, 2017

http://caolan.github.io/async/docs.html#mapValues

@megawac
Copy link
Collaborator

megawac commented Apr 20, 2017

See #669, #321, #594 and some others for some background

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants