Created
November 6, 2018 19:32
-
-
Save dsibinski/096fc8e846dcea4b8e0eef6bd5783969 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
if(true) { | |
var x = 5; | |
} | |
console.log(x); // prints '5' | |
// x is a global scope variable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment