Last active
February 10, 2021 08:40
-
-
Save stefandobre/4243616a69e94bc470d2201c3cc4ca2f to your computer and use it in GitHub Desktop.
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
console.log(variable1); // error: variable1 is not defined | |
console.log(globalThis.variable1); // undefined | |
console.log(globalThis.variable2); // 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment