mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Fix _.ary unit test fail in old IE.
This commit is contained in:
@@ -3450,9 +3450,11 @@
|
|||||||
// Append argument positions.
|
// Append argument positions.
|
||||||
value = source[7];
|
value = source[7];
|
||||||
if (value) {
|
if (value) {
|
||||||
value = baseSlice(value);
|
argPos = data[7];
|
||||||
push.apply(value, data[7]);
|
value = data[7] = baseSlice(value);
|
||||||
data[7] = value;
|
if (argPos) {
|
||||||
|
push.apply(value, argPos);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Use source `arity` if one is not provided.
|
// Use source `arity` if one is not provided.
|
||||||
if (data[8] == null) {
|
if (data[8] == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user