Example 1 — Official: Three Columns
Each index becomes one tuple across all inputs.
_.zip(["a", "b"], [1, 2], [true, false]);
// → [["a", 1, true], ["b", 2, false]] How It Works
- Index 0. Take first of each →
["a", 1, true]. - Index 1. Take second of each →
["b", 2, false]. - Length. Both inputs share length 2 → two tuples.
- Width. Three inputs → each tuple has three slots.

