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

forEach(arr, iterator, callback) seems has bug #74

Closed
shimondoodkin opened this issue Dec 25, 2011 · 0 comments
Closed

forEach(arr, iterator, callback) seems has bug #74

shimondoodkin opened this issue Dec 25, 2011 · 0 comments

Comments

@shimondoodkin
Copy link

forEach(arr, iterator, callback)

my script did http get of 2 items

if the 2nd returned before the 1st the callback is called anyways.
even though the data of 1st is not returned yet,

if i used filter(arr, iterator, callback) instead of forEach it worked ok.

@caolan caolan closed this as completed Mar 28, 2014
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

No branches or pull requests

2 participants