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

Explain why the _(3).times(...) example in the documentation is correct #819

Closed
dandv opened this issue Oct 8, 2012 · 0 comments
Closed

Comments

@dandv
Copy link

dandv commented Oct 8, 2012

New users expect the example to follow the syntax, i.e.

_.times(3, function(n){ genie.grantWishNumber(n); });

In fact, someone already posted issue #381 about this. I was also surprised by the syntax, and had to go test.

Would be nice to clearly explain why the example is correct, or just use the expected syntax and explain chaining later.

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

2 participants