Difficulty: 5/10currying, arrow functions, functional programmingjavascriptCopyScenario Questions0-2 years experience1How would you write a curried add function using ES6 arrow syntax so it can be called like add(2)(3)?2If you invoke your curried function with the first argument and later with the second, what value is returned each time?2-5 years experience1We have a utility `fetchData(url, options)` and want to support partial application. How would you refactor it to be curried, and what trade‑offs might that introduce?Follow-up QuestionsCan you walk me through the execution flow step by step?What edge cases or error conditions would you guard against?How does this approach affect testing and debugging?Suggest Improvement