Created
February 7, 2021 18:08
-
-
Save dualyticalchemy/49f4f9d9803d755b71b7a165e87fbd64 to your computer and use it in GitHub Desktop.
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
const compose = (...fns) => fns.reduce((f, g) => (...args) => f(g(...args))); | |
export { | |
compose | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment