Posts tagged with "bind"

Currying in JavaScript using bind()

February 6th, 2012

Currying, or more accurately, partial application is the process of breaking down a function that takes multiple arguments into a series of functions that take parts of the arguments. It comes in handy whenever you don’t have all the required arguments to a function at the present time. For example, consider a function add that [...]