createObject.js 328 B

12345678
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.createObject = void 0;
  4. function createObject(keys, values) {
  5. return keys.reduce(function (result, key, i) { return ((result[key] = values[i]), result); }, {});
  6. }
  7. exports.createObject = createObject;
  8. //# sourceMappingURL=createObject.js.map