Last active
November 14, 2017 18:42
-
-
Save awebdeveloper/3f6cafd40626d5bc02df1ee4c3523b58 to your computer and use it in GitHub Desktop.
Explaining This
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 a = 10; | |
console.log(this.a); //will print 10 | |
function inside() { | |
var a = 20; | |
console.log(this.a); //will print 20 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment