Last active
August 29, 2015 14:23
-
-
Save ajcrites/1673034943d58982f232 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
let x = "1"; | |
runAsync(() => { | |
x = "2"; | |
// this will run second (or never) | |
console.log(x); | |
// this is pointless | |
return x; | |
}); | |
// this will run first | |
console.log(x); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment