Skip to content

Instantly share code, notes, and snippets.

@egrueter-dev
Created May 27, 2016 01:24
Show Gist options
  • Save egrueter-dev/a4b0796d78ac756136fd7d8f37c9eb2d to your computer and use it in GitHub Desktop.
Save egrueter-dev/a4b0796d78ac756136fd7d8f37c9eb2d to your computer and use it in GitHub Desktop.
Execution Stack Example with Notes
var a = “first variable”
function myfunction () {
///// myfunction execution context
var b = “ second variable”;
return console.log(b);
/////
}
console.log(a) //=> ‘first variable’
/// myfunction is read
myfunction();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment