source: node_modules/es-toolkit/dist/compat/array/zipObject.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 382 bytes
Line 
1'use strict';
2
3Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
5const assignValue = require('../_internal/assignValue.js');
6
7function zipObject(keys = [], values = []) {
8 const result = {};
9 for (let i = 0; i < keys.length; i++) {
10 assignValue.assignValue(result, keys[i], values[i]);
11 }
12 return result;
13}
14
15exports.zipObject = zipObject;
Note: See TracBrowser for help on using the repository browser.