Ruby - Enumerable and Collection Processing
Given two arrays
a = [1, 2] and b = ['x', 'y'], what is the result of a.zip(b)?a = [1, 2] and b = ['x', 'y'], what is the result of a.zip(b)?zip to arrays a and ba pairs with the element at the same index in b.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions