Bump to v4.17.2.

This commit is contained in:
John-David Dalton
2016-11-15 22:25:47 -08:00
parent 5585b3ae22
commit db9697dfef
14 changed files with 176 additions and 176 deletions

View File

@@ -51,15 +51,11 @@ function spread(func, start) {
start = start === undefined ? 0 : nativeMax(toInteger(start), 0);
return baseRest(function(args) {
var array = args[start],
lastIndex = args.length - 1,
otherArgs = castSlice(args, 0, start);
if (array) {
arrayPush(otherArgs, array);
}
if (start != lastIndex) {
arrayPush(otherArgs, castSlice(args, start + 1));
}
return apply(func, this, otherArgs);
});
}