zipped array
array of indices specifying which tuple elements to unzip
array of unzipped arrays
var arr = [ [ 1, 'a', 3 ], [ 2, 'b', 4 ] ];
var out = unzip( arr );
// returns [ [ 1, 2 ], [ 'a', 'b' ], [ 3, 4 ] ]
var arr = [ [ 1, 'a', 3 ], [ 2, 'b', 4 ] ];
var out = unzip( arr, [ 0, 2 ] );
// returns [ [ 1, 2 ], [ 3, 4 ] ]
Unzips a zipped array (i.e., a nested array of tuples).