Created
May 24, 2012 18:54
-
-
Save michaelBenin/2783522 to your computer and use it in GitHub Desktop.
This file contains 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
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