mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Rename spreadArgs to otherArgs.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user