Ensure fp.mergeAllWith accepts more than 2 sources. [closes #2786]

This commit is contained in:
John-David Dalton
2016-11-04 01:10:54 -07:00
parent fbb67f9dbe
commit 1b3815928d
3 changed files with 9 additions and 8 deletions

View File

@@ -10822,6 +10822,7 @@
if (array) {
arrayPush(otherArgs, array);
}
arrayPush(otherArgs, castSlice(args, start + 1));
return apply(func, this, otherArgs);
});
}