Created
July 22, 2019 10:31
-
-
Save Pengeszikra/c6c3d669f80b5365c88e6e00fc65ddd5 to your computer and use it in GitHub Desktop.
simple pipe implementation
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 default (inner, ...outers) => outers.reduce((result, calc) => calc(result), inner); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment