Difficulty: 5/10higher-order functions, partial application, function compositionjavascriptCopyScenario Questions0-2 years experience1We have a simple function add(a, b) that returns a + b. How would you write a curried version so that add(2)(3) works?2If you call your curried function with only the first argument and then later with the second, what does it return? Walk me through the steps.3What happens if you pass three arguments to a curried version of a two‑parameter function?Follow-up QuestionsCan you show a quick example of using your curry with a two‑argument function?What edge cases would you test for this implementation?How would you modify it to preserve the original function's this binding?Suggest Improvement