Last active
August 6, 2019 19:00
-
-
Save ionelh/3d73d8363b03de8255aea5e0364bbd5b to your computer and use it in GitHub Desktop.
Gist for medium article "How JavaScript Works"
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
function a() { | |
function b() { | |
function c() { | |
console.log(foo); | |
} | |
c(); | |
} | |
var foo = 'bar'; | |
b(); | |
} | |
a(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment