Created
March 29, 2020 09:18
-
-
Save whoiskai/f110b2db38e1a1d22453749653c65117 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
// Some global variable x | |
let x = 1 | |
// Module A running concurrently | |
x += 1 | |
print(x) // <- what is x here? | |
// Module B running concurrently | |
x += 2 | |
print(x) // <- what is x here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment