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

@@ -97,7 +97,7 @@ function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arit
} else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {
result = createPartial(func, bitmask, thisArg, partials);
} else {
result = createHybrid.apply(undefined, newData);
result = createHybrid(...newData);
}
var setter = data ? baseSetData : setData;
return setWrapToString(setter(result, newData), func, bitmask);