mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Rename spreadArgs to otherArgs.
This commit is contained in:
@@ -9069,12 +9069,12 @@
|
|||||||
start = start === undefined ? 0 : nativeMax(toInteger(start), 0);
|
start = start === undefined ? 0 : nativeMax(toInteger(start), 0);
|
||||||
return rest(function(args) {
|
return rest(function(args) {
|
||||||
var array = args[start],
|
var array = args[start],
|
||||||
spreadArgs = args.slice(0, start);
|
otherArgs = args.slice(0, start);
|
||||||
|
|
||||||
if (array) {
|
if (array) {
|
||||||
arrayPush(spreadArgs, array);
|
arrayPush(otherArgs, array);
|
||||||
}
|
}
|
||||||
return apply(func, this, spreadArgs);
|
return apply(func, this, otherArgs);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user