Bump to v4.10.0.

This commit is contained in:
John-David Dalton
2016-04-10 23:01:56 -07:00
parent 7d39d58e43
commit be0bf2681b
61 changed files with 445 additions and 420 deletions

View File

@@ -1,5 +1,6 @@
var apply = require('./_apply'),
arrayPush = require('./_arrayPush'),
castSlice = require('./_castSlice'),
rest = require('./rest'),
toInteger = require('./toInteger');
@@ -50,7 +51,7 @@ function spread(func, start) {
start = start === undefined ? 0 : nativeMax(toInteger(start), 0);
return rest(function(args) {
var array = args[start],
otherArgs = args.slice(0, start);
otherArgs = castSlice(args, 0, start);
if (array) {
arrayPush(otherArgs, array);