1 var max = require('./max');
2 var map = require('./map');
4 function getLength(arr) {
5 return arr == null ? 0 : arr.length;
9 * Merges together the values of each of the arrays with the values at the
10 * corresponding position.
13 var len = arr ? max(map(arguments, getLength)) : 0,
17 // jshint loopfunc: true
18 results.push(map(arguments, function(item) {
19 return item == null ? undefined : item[i];