Last active
November 22, 2020 14:31
-
-
Save kermit-klein/4360331df96b5402b38f43dbfecda938 to your computer and use it in GitHub Desktop.
hoist3
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
var foo = 1; | |
function bar() { | |
if (!foo) { | |
var foo = 10; | |
} | |
alert(foo); | |
} | |
bar(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment