Currying
A short video explaining the concept of curring, using JavaScript. This is part of a series, where are learning functional programming using JavaScript. Currying is when a function, instead of taking all arguments at one time, takes the first one and returns a new function that takes the second one and returns a new function which takes the third one, and so forth, until all arguments have been fulfilled. Curry function in lodash:
|
|