UNPKG
imma
Version:
latest (0.0.1)
0.0.1
A collection of functions for dealing with native arrays and objects immutably
imma
/
lib
/
object
/
zipWith.js
6 lines
(4 loc)
•
139 B
JavaScript
View Raw
1
2
3
4
5
6
'use strict'
const
map =
require
(
'./map'
)
const
zipWith =
module
.
exports
=
(
a, b, fn
) =>
map
(a,
(
value, key
) =>
fn
(value, b[key]))