Created
August 1, 2017 23:35
-
-
Save molayodecker/8b76b4dbd7812140bd98d98e39237705 to your computer and use it in GitHub Desktop.
Scopes4
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
var a = 10; | |
function outer(){ | |
var b = a; | |
console.log(b); | |
function inner(){ | |
var b = 20; | |
var c = b; | |
console.log(c); | |
} | |
inner(); | |
} | |
outer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment