Skip to content

Instantly share code, notes, and snippets.

@killtheliterate
Created February 17, 2015 17:57
Show Gist options
  • Save killtheliterate/4f5921b763142ff89d15 to your computer and use it in GitHub Desktop.
Save killtheliterate/4f5921b763142ff89d15 to your computer and use it in GitHub Desktop.
var uh = function() {
var closed = 'hi';
return {
foo: function() {
console.log(closed);
}
};
};
var hello = uh();
hello.foo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment