Skip to content

Instantly share code, notes, and snippets.

@michaelBenin
Created May 24, 2012 18:54
Show Gist options
  • Save michaelBenin/2783522 to your computer and use it in GitHub Desktop.
Save michaelBenin/2783522 to your computer and use it in GitHub Desktop.
var closureEx = (function iterate(param)
{
if(param>1)
{
setTimeout(iterate, 1000);
param--;
log(param);
this.call(param);
}
})(10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment