1×
Become a member
to unlock all features
Autoplay

    Compose Functions with Reduce

    javascriptJavaScript

    Javascript has first-class functions which means that any function can stored, passed around, and returned just like an Object can. This allows for a lot of flexibility with how you call functions. This allows us to use array reduction to create functional pipelines by composing arrays of functions.