Skip to content

Commit 67e43b6

Browse files
authored
Merge pull request #2670 from dragmove/master
correct _.times example in index.html
2 parents d4f52aa + a5382ed commit 67e43b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ <h2 id="utility">Utility Functions</h2>
19111911
<i>Note: this example uses the <a href="#oop">object-oriented syntax</a></i>.
19121912
</p>
19131913
<pre>
1914-
_(3).times(function(n){ genie.grantWishNumber(n); });</pre>
1914+
_.times(3, function(n){ genie.grantWishNumber(n); });</pre>
19151915

19161916
<p id="random">
19171917
<b class="header">random</b><code>_.random(min, max)</code>

0 commit comments

Comments
 (0)