Skip to content

Instantly share code, notes, and snippets.

@snichme
Created March 7, 2012 13:18
Show Gist options
  • Save snichme/1993052 to your computer and use it in GitHub Desktop.
Save snichme/1993052 to your computer and use it in GitHub Desktop.
(function(fn, i) {
(function () {
fn(i++) ? arguments.callee() : null;
}());
}(function(fn, max) {
return function(i) {
fn(i);
return i<max;
};
}(console.log, 50), 30));
//end, function, start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment