Skip to content
Browse files

Fixes #635: document that _.times passes the iteration count

  • Loading branch information...
1 parent 866d244 commit 2ebe669d37ca679272c7b694dfa9897abc309a36 @jashkenas committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.html
2 index.html
@@ -1361,7 +1361,7 @@ <h2 id="utility">Utility Functions</h2>
Invokes the given iterator function <b>n</b> times. Each invocation of <b>iterator</b> is called with an <tt>index</tt> argument.
-_(3).times(function(){ genie.grantWish(); });</pre>
+_(3).times(function(n){ genie.grantWishNumber(n); });</pre>
<p id="mixin">
<b class="header">mixin</b><code>_.mixin(object)</code>

0 comments on commit 2ebe669

Please sign in to comment.
Something went wrong with that request. Please try again.