Take a basic FP concept, a projection. A projection is a string of functions combined to create a single result.
Here's the most basic way to do it:
var myResult = myFunction(myFunction2(myFunction3()));
And here's a way to do it which makes both more readable and less verbose:
var myResult = run(myFunction1, myFunction2, myFunction3);
Finally, here's another way to do it which involves OOP, and requires each function to return
myObj, a concept jQuery users may be familiar with:
var myResult = myObj.myFunction().myFunction2().myFunction3().value();
All 3 examples do the same thing in terms of giving Function A's output to Function B's input and so on.