📅  最后修改于: 2022-03-11 15:02:04.541000             🧑  作者: Mango
const myResult = f1( f2(data) ); // composition: pass the output DATA of one function to the input of another ... like pipes.
function add(a){return function(b){return a + b} } // functional composition
add(2)(3) //-> 5