Created
June 5, 2018 18:29
-
-
Save luan0ap/1b10966d694751fdca45ef66bc47b726 to your computer and use it in GitHub Desktop.
ordenate execution functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const pipe = (...fns) => initial => fns.reduce((acc, fn) => fn(acc), initial) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment