JavaScript & Advanced ES6+ (0-to-Hero Big Tech Standard)
›
11. Currying, Partial Application & Function Composition (Pipe/Compose)
45 mins
Course Syllabus
Interactive Lesson Studio
Loading lesson content...
🎯 Big Tech Coding & Interview Challenges
Practice these curated problems. Click "Load in Sandbox" to solve live in the Code Studio!
Medium
1. Infinite Currying Accumulator
Implement an infinite currying accumulator function `add` such that `add(1)(2)(3)() === 6` and `add(10)(20)() === 30`.
💡 View Pro Interview Hint
• Return the recursive function until called with empty parentheses.
JavaScript