diff --git a/Array.js b/Array.js index 9ee90c0..17b9f0a 100644 --- a/Array.js +++ b/Array.js @@ -334,12 +334,13 @@ function(func, ...arrays){ // build the zip item... // NOTE: this is done this way to preserve array sparseness... var s = arrays - .reduce(function(res, a, j){ - //a.length > i - i in a - && (res[j] = a[i]) - return res - }, new Array(arrays.length)) + .reduce( + function(res, a, j){ + //a.length > i + i in a + && (res[j] = a[i]) + return res }, + new Array(arrays.length)) return arrays // check that at least one array is longer than i... .reduce(function(res, a){ @@ -362,5 +363,6 @@ function(func, ...arrays){ + /********************************************************************** * vim:set ts=4 sw=4 : */ return module })