Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Created August 25, 2012 02:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmueller/3459060 to your computer and use it in GitHub Desktop.
Save matthewmueller/3459060 to your computer and use it in GitHub Desktop.
super basic bind function
function __bind(fn, context) {
return function() {
return fn.apply(context, arguments);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment