Last active
May 29, 2018 04:47
-
-
Save paxelpixel/9225f3baa6f4edf161e3244f4daca28d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 doImportantStuff() { | |
//function scope | |
var someVariable = "important stuff"; | |
} | |
{ | |
//block scope | |
let anotherVariable = "not so important"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment