DEV Community

Discussion on: What is Currying In JavaScript Is and How to Use It

Collapse
 
calinbaenen profile image
Calin Baenen

I don't know if anyone else pointed this out, but the function calls in the first few examples (the sumNumbers ones specifically), you called sumNumbers, when you may have meant to call (the newly created) sum.

Just a heads up on the mistake, since this is for beginners.

Hope this helps.
Cheers!

Collapse
 
alexdevero profile image
Alex Devero

Thank you Catlin. I got lost in those calls and mistakenly used wrong identifier.