@qvant/qui-max
Version:
A Vue 3 Design system for Web.
21 lines (20 loc) • 719 B
JavaScript
import mapCacheClear from "./_mapCacheClear.js";
import mapCacheDelete from "./_mapCacheDelete.js";
import mapCacheGet from "./_mapCacheGet.js";
import mapCacheHas from "./_mapCacheHas.js";
import mapCacheSet from "./_mapCacheSet.js";
function MapCache(entries) {
var index = -1, length = entries == null ? 0 : entries.length;
this.clear();
while (++index < length) {
var entry = entries[index];
this.set(entry[0], entry[1]);
}
}
MapCache.prototype.clear = mapCacheClear;
MapCache.prototype["delete"] = mapCacheDelete;
MapCache.prototype.get = mapCacheGet;
MapCache.prototype.has = mapCacheHas;
MapCache.prototype.set = mapCacheSet;
export { MapCache as default };
//# sourceMappingURL=_MapCache.js.map