Skip to content

Instantly share code, notes, and snippets.

@bingeboy
Created February 25, 2014 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bingeboy/9210689 to your computer and use it in GitHub Desktop.
Save bingeboy/9210689 to your computer and use it in GitHub Desktop.
Curry Prototype
var currier = function(fn) {
var args = Array.prototype.slice.call(arguments, 1)
return function() {
return fn.apply(this, args.concat(Array.prototype.slice.call(arguments, 0)))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment