Created
April 20, 2019 07:01
-
-
Save MeetMartin/29ed53dfd595a9660795fef9339c58ed to your computer and use it in GitHub Desktop.
This file contains hidden or 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 trim = a => a.trim(); | |
| const add = a => b => a + b; | |
| const simonSays = composePipe(trim, add('Simon Says: ')); | |
| simonSays(' Jump! '); // Simon Says: Jump! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment