hash-map
Version:
'object as hashmap' toolset
15 lines • 427 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const mapObj = createMap();
function createMap() {
const result = {};
for (var prop of Object.getOwnPropertyNames(Object.prototype)) {
result[prop] = null;
}
return result;
}
function createMapObj() {
return Object.assign({}, mapObj);
}
exports.createMapObj = createMapObj;
//# sourceMappingURL=mapObj.js.map