Ensure _.bind correctly appends array arguments to partially applied arguments.

Former-commit-id: 4fdb100f83ff9a0eafcba3f5bf91872748205595
This commit is contained in:
John-David Dalton
2012-08-18 00:48:14 -07:00
parent 15b14e12e2
commit 04425786a1
2 changed files with 9 additions and 1 deletions

View File

@@ -3224,7 +3224,7 @@
}
if (partialArgs.length) {
args = args.length
? concat.apply(partialArgs, args)
? partialArgs.concat(slice.call(args))
: partialArgs;
}
if (this instanceof bound) {