DEV Community

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

Collapse
 
eljayadobe profile image
Eljay-Adobe

The curried notation can be made a bit more succinct.

const cf = (a) => (b) => (c) => (d) => { return a * b * c * d; }