Fixed some issues in test files

This commit is contained in:
Angelos Chalaris
2018-06-18 19:07:48 +03:00
parent ed3b40c4f2
commit a3390a6588
31 changed files with 1390 additions and 2080 deletions

View File

@ -2,6 +2,6 @@ const zip = (...arrays) => {
const maxLength = Math.max(...arrays.map(x => x.length));
return Array.from({ length: maxLength }).map((_, i) => {
return Array.from({ length: arrays.length }, (_, k) => arrays[k][i]);
});
};
module.exports = zip;