UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

10 lines (8 loc) 189 B
function zipObject(keys, values) { const result = {}; for (let i = 0; i < keys.length; i++) { result[keys[i]] = values[i]; } return result; } export { zipObject };