Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript pipe function

const pipe = (x0, ...fns) => fns.reduce(
    (x, f) => f(x),
    x0
);
 
PREVIOUS NEXT
Tagged: #javascript #pipe #function
ADD COMMENT
Topic
Name
7+8 =