Created
September 6, 2018 05:03
-
-
Save praveen-me/b52804abada6bc1eed2931f3c8b5bd00 to your computer and use it in GitHub Desktop.
Scopes in JavaScript
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 = 'global'; | |
function iAmLocal() { | |
a = 'is I am local'; | |
} | |
iAmLocal(); | |
a; //Think and let's give it a moment ?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment