mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Remove apply.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import apply from './.internal/apply.js'
|
||||
import arrayMap from './.internal/arrayMap.js'
|
||||
import unzip from './unzip.js'
|
||||
|
||||
@@ -26,7 +25,7 @@ function unzipWith(array, iteratee) {
|
||||
return []
|
||||
}
|
||||
const result = unzip(array)
|
||||
return arrayMap(result, group => apply(iteratee, undefined, group))
|
||||
return arrayMap(result, group => iteratee.apply(undefined, group))
|
||||
}
|
||||
|
||||
export default unzipWith
|
||||
|
||||
Reference in New Issue
Block a user