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
/
zip.js
7 lines
(4 loc)
•
155 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
const
zipWith =
require
(
'./zipWith'
)
const
combine
= (
a, b
) => [ a, b ]
const
zip =
module
.
exports
=
(
a, b
) =>
zipWith
(a, b, combine)