mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Fixin new map imports.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import arrayMap from './.internal/arrayMap.js'
|
||||
import map from './map.js'
|
||||
import baseIntersection from './.internal/baseIntersection.js'
|
||||
import castArrayLikeObject from './.internal/castArrayLikeObject.js'
|
||||
import last from './last.js'
|
||||
@@ -24,7 +24,7 @@ import last from './last.js'
|
||||
*/
|
||||
function intersectionWith(...arrays) {
|
||||
let comparator = last(arrays)
|
||||
const mapped = arrayMap(arrays, castArrayLikeObject)
|
||||
const mapped = map(arrays, castArrayLikeObject)
|
||||
|
||||
comparator = typeof comparator == 'function' ? comparator : undefined
|
||||
if (comparator) {
|
||||
|
||||
Reference in New Issue
Block a user