mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-25 00:02:04 -05:00
340 B
340 B
title
| title |
|---|
| Introduction to Currying and Partial Application |
Introduction to Currying and Partial Application
Solution
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);