DEV Community

Discussion on: Spice up your Javascript with some powerful curry! (Functional Programming and Currying)

Collapse
 
abhishekraj272 profile image
Abhishek Raj

After reading this post, I remember, I was asked in an interview to create a function to calculate sum of N numbers using currying, it was really good solving it being a begineer.

If you want to have a good concept over curriying do try this problem.

Fun(1)(2)(3)...(N) = 1 + 2 + 3 + ... + N
Enter fullscreen mode Exit fullscreen mode