mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-16 18:07:45 -05:00
496 B
496 B
title, localeTitle
| title | localeTitle |
|---|---|
| Introduction to Currying and Partial Application | Введение в каррирование и частичное применение |
Введение в каррирование и частичное применение
Решение
function add(x) {
// Add your code below this line
return function(y) {
return function(z) {
return x + y + z;
}
}
// Add your code above this line
}
add(10)(20)(30);