_ggzip
: To regroup data from separate parallel lists into a single collection of tuples (represented as arrays in JavaScript).
The _.zip function takes multiple input arrays and creates a new multi-dimensional array. The first element of the new array contains the first elements of all provided input arrays, the second element contains all the second elements, and so on. : _.zip([arrays]) _Ggzip
: If the input arrays have different lengths, the resulting groups will contain undefined for the missing values from the shorter arrays. Technical Application : To regroup data from separate parallel lists