Created
October 8, 2019 20:25
-
-
Save choallin/6e17f8254f8c79f1f5a2245c13ac207e to your computer and use it in GitHub Desktop.
function_scoping
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
function x() { | |
if(true) { | |
var x = "Interesting" | |
} | |
alert(x); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment