UNPKG

typedash

Version:

modern, type-safe collection of utility functions

14 lines (12 loc) 331 B
'use strict'; // src/functions/zip/zip.ts function zip(first, second) { const result = []; for (let index = 0; index < Math.min(first.length, second.length); index++) { result.push([first[index], second[index]]); } return result; } exports.zip = zip; //# sourceMappingURL=out.js.map //# sourceMappingURL=index.cjs.map