mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Bump to v4.14.0.
This commit is contained in:
4
xor.js
4
xor.js
@@ -1,7 +1,7 @@
|
||||
import arrayFilter from './_arrayFilter.js';
|
||||
import baseRest from './_baseRest.js';
|
||||
import baseXor from './_baseXor.js';
|
||||
import isArrayLikeObject from './isArrayLikeObject.js';
|
||||
import rest from './rest.js';
|
||||
|
||||
/**
|
||||
* Creates an array of unique values that is the
|
||||
@@ -21,7 +21,7 @@ import rest from './rest.js';
|
||||
* _.xor([2, 1], [2, 3]);
|
||||
* // => [1, 3]
|
||||
*/
|
||||
var xor = rest(function(arrays) {
|
||||
var xor = baseRest(function(arrays) {
|
||||
return baseXor(arrayFilter(arrays, isArrayLikeObject));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user