Skip to content

Instantly share code, notes, and snippets.

@kunigami
Created May 10, 2017 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunigami/2692b1df3f5e13e25b8be43274b761f0 to your computer and use it in GitHub Desktop.
Save kunigami/2692b1df3f5e13e25b8be43274b761f0 to your computer and use it in GitHub Desktop.
function a() {
console.log('a before b');
b();
console.log('a after b');
}
function b() {
c();
}
function c() {
console.log('c');
}
// Running this in node.js outputs
// a before b
// c
// a after b
a();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment