Created
May 3, 2015 17:27
-
-
Save pvamshi/bef474e1799ad1f0e31c to your computer and use it in GitHub Desktop.
Scope -2
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 = 5; | |
function abc(){ | |
var b = 6; | |
function def(){ | |
console.log(b); | |
console.log(a); | |
} | |
def(); | |
} | |
abc(); | |
//console.log(a); | |
//console.log(b); | |
//def(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment