Question:
What is currying in JavaScript?
Quick answer:
It is a technique used to convert a function that takes multiple arguments into a chain of...
For further actions, you may consider blocking this person and/or reporting abuse
Currying is mainly a way to setup a function for easier partial application -- providing only some of the function arguments. You can do partial application without currying, but it is less convenient.
Thanks π Added a note with a link to this comment to the post itself.
This is a great quick explanation. I made an account to follow you so I can get all the 2 minute interview reviews. Good stuff.
It is so nice and inspiring to hear β¨ Glad you like these articles!
This is actually wrong as a curried function can take any number of arguments, not just 1. Good explanation though π