All files pipe.js

100% Statements 7/7
100% Branches 0/0
100% Functions 2/2
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5700x 700x 700x 700x  
module.exports = (f, ...fs) => a => {
  let res = f(a)
  for (let i = 0; i < fs.length; i++) res = fs[i](res)
  return res
}