Skip to content

Instantly share code, notes, and snippets.

@ylv-io
Created January 28, 2019 15:59
Show Gist options
  • Save ylv-io/1255ec543d9e692cc2a7b49e2892c0c0 to your computer and use it in GitHub Desktop.
Save ylv-io/1255ec543d9e692cc2a7b49e2892c0c0 to your computer and use it in GitHub Desktop.
var x = 5;
(function () {
var x;
console.log(x);
x = 10;
console.log(x);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment