Fungsi Pipa JavaScript
const pipe = (x0, ...fns) => fns.reduce(
(x, f) => f(x),
x0
);
Clean Caracal
const pipe = (x0, ...fns) => fns.reduce(
(x, f) => f(x),
x0
);