Skip to content

Instantly share code, notes, and snippets.

@kermit-klein
Created November 22, 2020 16:18
Show Gist options
  • Save kermit-klein/4d2e151b7ee1155a0d2c9cf9eb441fd2 to your computer and use it in GitHub Desktop.
Save kermit-klein/4d2e151b7ee1155a0d2c9cf9eb441fd2 to your computer and use it in GitHub Desktop.
hoist5
var a = 1;
function b() {
a = 10;
return;
function a() {}
}
b();
alert(a);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment