Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created November 6, 2018 21:06
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 dsibinski/cae61de9d60e5d23d4db60deb2f0afa7 to your computer and use it in GitHub Desktop.
Save dsibinski/cae61de9d60e5d23d4db60deb2f0afa7 to your computer and use it in GitHub Desktop.
function a() {
var x = 'Hello';
b();
function b() {
var y = ' world!';
console.log(x + y);
}
}
a(); // prints 'Hello world!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment