JavaScript Function Currying
Steve Griffith - Prof3ssorSt3v3
0:00 / 0:00
JavaScript Function Currying
16 916 просмотров · 9 лет назад
Steve Griffith - Prof3ssorSt3v3
105 тыс. подписчиков
16 916 просмотров · 9 лет назад
Function currying is a technique that is only possible in JavaScript because functions are first-class objects.
This means that they can be passed to a function as a parameter AND they can be returned from a function.
Code GIST: https://gist.github.com/prof3ssorSt3v...
Below are a few videos that will help you if you don't understand the fundamentals of functions.
Function Basics: • Introduction to Functions in JavaScript
Function Return statements: • JavaScript Function Return Statements
Function parameters: • JavaScript Function Parameters
Variable Scope: • Variable Scope
I also made reference to closures during the video. This is an important but challenging concept in JS. If you want to learn more about closures: • JavaScript Closures