mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Bump to v4.4.0.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import arrayMap from './_arrayMap';
|
||||
import baseCastArrayLikeObject from './_baseCastArrayLikeObject';
|
||||
import baseIntersection from './_baseIntersection';
|
||||
import last from './last';
|
||||
import rest from './rest';
|
||||
import toArrayLikeObject from './_toArrayLikeObject';
|
||||
|
||||
/**
|
||||
* This method is like `_.intersection` except that it accepts `comparator`
|
||||
@@ -25,7 +25,7 @@ import toArrayLikeObject from './_toArrayLikeObject';
|
||||
*/
|
||||
var intersectionWith = rest(function(arrays) {
|
||||
var comparator = last(arrays),
|
||||
mapped = arrayMap(arrays, toArrayLikeObject);
|
||||
mapped = arrayMap(arrays, baseCastArrayLikeObject);
|
||||
|
||||
if (comparator === last(mapped)) {
|
||||
comparator = undefined;
|
||||
|
||||
Reference in New Issue
Block a user