Rename spreadArgs to otherArgs.

This commit is contained in:
John-David Dalton
2016-02-01 22:13:38 -08:00
parent e96a8f7bc6
commit 18f74aa5b2

View File

@@ -9069,12 +9069,12 @@
start = start === undefined ? 0 : nativeMax(toInteger(start), 0);
return rest(function(args) {
var array = args[start],
spreadArgs = args.slice(0, start);
otherArgs = args.slice(0, start);
if (array) {
arrayPush(spreadArgs, array);
arrayPush(otherArgs, array);
}
return apply(func, this, spreadArgs);
return apply(func, this, otherArgs);
});
}