partial
Creates a function that invokes fn with partials prepended to the arguments it receives.
- Use the spread operator (
...) to prependpartialsto the list of arguments offn.
Creates a function that invokes fn with partials prepended to the arguments it receives.
...) to prepend partials to the list of arguments of fn.