Skip to content

Instantly share code, notes, and snippets.

@bcherry
Created February 12, 2010 23:27
Show Gist options
  • Save bcherry/303108 to your computer and use it in GitHub Desktop.
Save bcherry/303108 to your computer and use it in GitHub Desktop.
var mycallback;
function foo() {
var x, y, z;
function bar() {/* something with x, y, and z*/}
mycallback = bar;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment