DEV Community

Discussion on: Beginners Guide To Higher Order Functions, Partial Functions and Currying

Collapse
 
pengeszikra profile image
Peter Vivo

maybe arrow functions is cleaner represent the currying ( common way in my use case )

const multiply = a => b => c => a * b * c;
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ubahthebuilder profile image
Kingsley Ubah

Yes. Just wanted to keep things as simple as possible.