zip([1, 2, 3], ['a', 'b', 'c']) // β [[1,'a'], [2,'b'], [3,'c']]zip<T, U> pairs elements from two arrays into tuples, stopping at the shorter array.
Challenge: Implement zip<T, U>(a: T[], b: U[]): [T, U][] that pairs elements by index, stopping at the shorter array.
zip([1,2,3], ['a','b','c']) // β [[1,'a'],[2,'b'],[3,'c']]
zip([1,2], ['a','b','c']) // β [[1,'a'],[2,'b']]