mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -26,9 +26,7 @@ define(['./_baseFlatten', './_baseRest', './_baseUniq', './isArrayLikeObject', '
|
||||
*/
|
||||
var unionWith = baseRest(function(arrays) {
|
||||
var comparator = last(arrays);
|
||||
if (isArrayLikeObject(comparator)) {
|
||||
comparator = undefined;
|
||||
}
|
||||
comparator = typeof comparator == 'function' ? comparator : undefined;
|
||||
return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user