Travis build: 1372

This commit is contained in:
30secondsofcode
2018-01-24 10:45:29 +00:00
parent 8303109529
commit f4061125af
3 changed files with 45 additions and 2 deletions

View File

@ -12,7 +12,7 @@ const unzipWith = (arr, fn) =>
.reduce(
(acc, val) => (val.forEach((v, i) => acc[i].push(v)), acc),
Array.from({
length: Math.max(...arr.map(x => x.length)),
length: Math.max(...arr.map(x => x.length))
}).map(x => [])
)
.map(val => fn(...val));