Skip to content

Instantly share code, notes, and snippets.

@wallacepreston
Last active December 19, 2020 18:42
Show Gist options
  • Save wallacepreston/4a48e3ea38e2b498ca6c2f00ad73b35a to your computer and use it in GitHub Desktop.
Save wallacepreston/4a48e3ea38e2b498ca6c2f00ad73b35a to your computer and use it in GitHub Desktop.
What would log when we run this script?

What would log when we run this script?

console.log('NUMBER 1');
fetch('someurl')
  .then(function() {
    console.log('NUMBER 2');
  });
console.log('NUMBER 3');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment