compose
Performs right-to-left function composition.
- Use
Array.prototype.reduce()
to perform right-to-left function composition. - The last (rightmost) function can accept one or more arguments; the remaining functions must be unary.
Performs right-to-left function composition.
Array.prototype.reduce()
to perform right-to-left function composition.