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

Include index and array in each loop. #130

Closed
bigeasy opened this issue Jul 9, 2013 · 0 comments
Closed

Include index and array in each loop. #130

bigeasy opened this issue Jul 9, 2013 · 0 comments
Assignees

Comments

@bigeasy
Copy link
Owner

bigeasy commented Jul 9, 2013

Makes it exactly like forEach.

@ghost ghost assigned bigeasy Jul 9, 2013
@bigeasy bigeasy closed this as completed Jul 10, 2013
bigeasy pushed a commit that referenced this issue Jul 10, 2013
Pass the loop index into the first function.

Initialize counted loops with arguments, the index comes after all of
the user provided arguments.

Closes #134.
Closes #130.

File                             Raw         Min         Zip     Min/Zip
index.js                 15689/15.32  5515/05.39  3371/03.29  1985/01.94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant