10

This is how I explain my co-workers when they see this line of code in my utilities projects:

export const pipe = (...fns) => x => fns.reduce((y, f) => f(y), x)

Comments
Add Comment