Apply spread arguments transform.

This commit is contained in:
John-David Dalton
2017-01-06 15:42:44 -08:00
parent 7167d7e09f
commit f4a6e9ede9
5 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials,
newHoldersRight, argPos, ary, arity
];
var result = wrapFunc.apply(undefined, newData);
var result = wrapFunc(...newData);
if (isLaziable(func)) {
setData(result, newData);
}