Created
June 21, 2019 12:07
-
-
Save prof3ssorSt3v3/6afa3a0025a0f5b0387144fd3c1c0667 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
console.log('a'); | |
let timmy = setTimeout(function () { | |
console.log('b'); | |
}, 1); | |
let timothy = setTimeout(function () { | |
console.log('c'); | |
}, 10); | |
let timer = setTimeout(function () { | |
console.log('d'); | |
}, 0); | |
console.log('e'); | |
//what is the order of the output of the letters and why? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment