Last active
August 24, 2017 22:26
-
-
Save tgallacher/c2096226962544d46adc7a86545620c9 to your computer and use it in GitHub Desktop.
Supplementary code snippet for Medium post
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 foo(){ | |
let bar = 5; | |
if(true){ | |
let bar = 100; | |
} | |
console.log(bar); // prints: 5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment