407 B
407 B
title | localeTitle |
---|---|
Introduction to Currying and Partial Application | Introducción al curry y aplicación parcial. |
Introducción al curry y aplicación parcial.
Solución
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);