Bump to v4.17.2.

This commit is contained in:
John-David Dalton
2016-11-15 22:20:52 -08:00
parent 76b7758fc7
commit 0c27706e89
9 changed files with 26 additions and 54 deletions

View File

@@ -50,15 +50,11 @@ define(['./_apply', './_arrayPush', './_baseRest', './_castSlice', './toInteger'
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);
});
}