We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for (var i = 1; i <= 2; i++) { setTimeout(function() { alert(i) }, 100); }
The use case for IIFE Add if found suitable
The text was updated successfully, but these errors were encountered:
Yeah, it’s a good one if you don’t have es6 block scoping with let/const. Thanks!
Sorry, something went wrong.
do you have some question in mind where I can add this example?
No branches or pull requests
for (var i = 1; i <= 2; i++) {
setTimeout(function() { alert(i) }, 100);
}
The use case for IIFE
Add if found suitable
The text was updated successfully, but these errors were encountered: