Skip to content

Instantly share code, notes, and snippets.

@bilalucar
Created January 30, 2019 19:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bilalucar/4403af63f75daf901ef63eb6e5709ef4 to your computer and use it in GitHub Desktop.
JavaScript Intrigue the mind
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