Last active
October 8, 2016 20:21
-
-
Save jtulk/d16eff43f6514330095d4ea60da734c3 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
| function partial(fn, ...args){ | |
| return fn(...arg) | |
| } | |
| function basic(...args) { | |
| // acts on any number of passed arguments | |
| } | |
| partial(basic, 2, 3, 4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment