Created
January 30, 2019 19:38
-
-
Save bilalucar/4403af63f75daf901ef63eb6e5709ef4 to your computer and use it in GitHub Desktop.
JavaScript Intrigue the mind
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
function main(){ | |
console.log('A'); | |
setTimeout( | |
function display(){ console.log('B'); } | |
,0); | |
console.log('C'); | |
} | |
main(); | |
// Output | |
// A | |
// C | |
// B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment