Currying – Part 6 of Functional Programming in JavaScript



💖 Support the show by becoming a Patreon
https://www.patreon.com/funfunfunction

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:
https://lodash.com/docs#curry

Playlist of full series

You want to follow me on Twitter and Quora:

http://www.quora.com/Mattias-Petter-Johansson

source

Reply


Build A Site Info