Skip to content

Instantly share code, notes, and snippets.

@gcr
Created January 16, 2009 21:20
Show Gist options
  • Save gcr/48140 to your computer and use it in GitHub Desktop.
Save gcr/48140 to your computer and use it in GitHub Desktop.
a = function() {
b = "Foo";
}
a();
alert(b);
// Outputs foo, strangely enough.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment