Morgan Stanley Interview Question

Explain currying in JavaScript with an example.

Interview Answer

Anonymous

Dec 24, 2020

I used the example function like sum(2)(3) to explain what currying is and how it works.