JavaScript Tutorial: Curried Functions

preview_player
Показать описание

Function currying in JavaScript.

In this video we are going to look at a basic example of function currying in JavaScript. The main idea behind curried functions is that the arguments to the functions are passed on step at a time and the most inner function returns the final result.

This is useful when you do not have all the arguments to a function to your application.
Рекомендации по теме
Комментарии
Автор

nice explanation recommend you zoom in on the code more in the video its a little small and hard to read

posivibez
Автор

Cool video but I'm still lost on why you would actually want to do this? Is it just a better design paradigm to have several smaller functions called each other? Is it more testable?

kazenohito
Автор

The theme is too dark. But the explanation seems to be good

shankarupadhyay
Автор

nice explanation, arrow functions are not supported by some browsers.

davidsierowski
Автор

it is not really curring rather closuers explanation.

zoltobialozielony
join shbcf.ru