Created
February 7, 2019 19:50
-
-
Save ylv-io/284ed313c1df60968a3aa903f8c7c622 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
for (var i = 0; i < 5; i++) { | |
setTimeout(function() { console.log(i); }, i * 1000 ); | |
} | |
for (let i = 0; i < 5; i++) { | |
setTimeout(function() { console.log(i); }, i * 1000 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment