Skip to content

zip4

Summary

Same as zip but with four arrays.

Tip

This function is curried.

Examples

1
2
zip4([1, 2], [10, 20], [100, 200], [1000, 2000]);
//=> [[1, 10, 100, 1000], [2, 20, 200, 2000]]

Parameters

Name Type Description
a Array
b Array
c Array
d Array

Return

Array.<Array>