Created
December 27, 2012 06:00
-
-
Save taterbase/4385821 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
Number.prototype.times = function ( fn ) { | |
var i; | |
for ( i = 0 ; i < this ; ++i) | |
fn(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment