Skip to content

Instantly share code, notes, and snippets.

@killtheliterate
Created February 12, 2015 20:12
Show Gist options
  • Save killtheliterate/6955c77da80ecfa06f6b to your computer and use it in GitHub Desktop.
Save killtheliterate/6955c77da80ecfa06f6b to your computer and use it in GitHub Desktop.
(function(first) {
return function(second) { // this function is a closure, as it closes around its containing scope
return first + second;
}
}(1)(1));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment