Last active
June 8, 2019 22:23
-
-
Save CodeDraken/3fb0a0b36add83750cb85b9acd60b068 to your computer and use it in GitHub Desktop.
Demonstrating the call stack
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 myOtherVar = 10 | |
| function a() { | |
| console.log('myVar', myVar) | |
| b() | |
| } | |
| function b() { | |
| console.log('myOtherVar', myOtherVar) | |
| c() | |
| } | |
| function c() { | |
| console.log('Hello world!') | |
| } | |
| a() | |
| var myVar = 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment