const pipeline = (...funcs) =>
val => funcs.reduce((a, b) => b(a), val);
const plus1 = a => a + 1;
const mult2 = a => a * 2;
const addThenMult = pipeline(plus1, mult2);
addThenMult(5)
pipeline函数里的a,b不是应该为函数么,[puls1,mult2]对应funcs,那b(a)怎么理解呀,a,b的值到底是什么呀,想不通,求解释