documentcloud/underscore — Issue #381: Documentation typo -->  _.times
Author: johnstrickler
Created: 2011-11-29 16:13:00+00:00
State: open

times_.times(n, iterator)
Invokes the given iterator function n times.

_(3).times(function(){ genie.grantWish(); });

^^

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