Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(var i=0; i<20; i++) {
- console.log(i);
- setTimeout(function() {
- console.log(i);
- }, 100);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement