mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Fixin new map imports.
This commit is contained in:
4
unzip.js
4
unzip.js
@@ -1,5 +1,5 @@
|
||||
import arrayFilter from './.internal/arrayFilter.js'
|
||||
import arrayMap from './.internal/arrayMap.js'
|
||||
import map from './map.js'
|
||||
import baseProperty from './.internal/baseProperty.js'
|
||||
import isArrayLikeObject from './isArrayLikeObject.js'
|
||||
|
||||
@@ -35,7 +35,7 @@ function unzip(array) {
|
||||
let index = -1
|
||||
const result = new Array(length)
|
||||
while (++index < length) {
|
||||
result[index] = arrayMap(array, baseProperty(index))
|
||||
result[index] = map(array, baseProperty(index))
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user