8 lines
328 B
JavaScript
8 lines
328 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.createObject = void 0;
|
||
|
function createObject(keys, values) {
|
||
|
return keys.reduce(function (result, key, i) { return ((result[key] = values[i]), result); }, {});
|
||
|
}
|
||
|
exports.createObject = createObject;
|
||
|
//# sourceMappingURL=createObject.js.map
|