A zip function in javascript using .reduce.
.reduce
See Tom MacWright’s post making juice with reduce / foldl.
reduce
foldl
See also _.zip and d3.zip for alternative implementations and sample usage.
_.zip
d3.zip