JavaScript Developer — Hard
Key points
- Currying breaks down a function into a sequence of single-argument functions
- Partial application fixes some arguments upfront, returning a new function for the remaining ones
- Currying always takes one argument at a time, while partial application can fix multiple arguments simultaneously
Ready to go further?
Related questions
