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