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