mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -26,9 +26,7 @@ define(['./_arrayFilter', './_baseRest', './_baseXor', './isArrayLikeObject', '.
|
||||
*/
|
||||
var xorWith = baseRest(function(arrays) {
|
||||
var comparator = last(arrays);
|
||||
if (isArrayLikeObject(comparator)) {
|
||||
comparator = undefined;
|
||||
}
|
||||
comparator = typeof comparator == 'function' ? comparator : undefined;
|
||||
return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user