Travis build: 1370

This commit is contained in:
30secondsofcode
2018-01-24 10:37:02 +00:00
parent f16c0ee8bb
commit d0885d1322
3 changed files with 42 additions and 2 deletions

View File

@ -10,7 +10,7 @@ const unzip = arr =>
arr.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 => [])
);
```