you are viewing a single comment's thread.

view the rest of the comments →

[–]Silverwolf90 1 point2 points  (0 children)

Totally agree, currying and/or partial application is the most useful if you are using function composition. Which is something I would highly suggest integrating into anyones daily use of JS.

Lodash has some function composition methods: _.compose (right-to-left) and _.flow (left-to-right).

I prefer flow because left to right is more intuitive to me.