Last active
March 26, 2018 19:19
-
-
Save aryak007/bdb8a16eec0090b6ada8b55289706e4a 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 = 1;i<=5;i++) | |
{ | |
setTimeout(function() | |
{ | |
console.log("value is : "+i); | |
},i*1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment