You're welcome! It's great to hear that you're open to exploring and potentially using currying in JavaScript in the future. Currying can be a powerful technique for creating more modular and reusable code, especially when dealing with functions that take multiple arguments. If you ever come across a situation where you think currying might be beneficial, don't hesitate to give it a try. Feel free to reach out if you have any questions or need further guidance when you decide to delve into currying in JavaScript. Happy coding!
Nice to see, something new after so many days. One query, what could be the default values of these parameters?
Favourite Jome
Software Engineer @bug0
Though I'm aware of Currying in JS, but I've never used it I think. I'd keep it in mind from now on and if there's a use case for me to use this pattern, I will.
Thanks for sharing!