Skip to content

Instantly share code, notes, and snippets.

@westc
Created November 21, 2014 17:52
Show Gist options
  • Save westc/32e6433ef719af19e7c6 to your computer and use it in GitHub Desktop.
Save westc/32e6433ef719af19e7c6 to your computer and use it in GitHub Desktop.
function getCall(fn) {
return function() {
return fn.call.apply(fn, arguments);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment