Creates an array of elements, grouped based on the position in the original arrays
zip(['a', 'b'], [1, 2], [true, false]); // [['a', 1, true], ['b', 2, false]]
zip(['a'], [1, 2], [true, false]); // [['a', 1, true], [undefined, 2, false]]
Rest
Generated using TypeDoc
Creates an array of elements, grouped based on the position in the original arrays
Example
Example