UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

21 lines (20 loc) 742 B
import listCacheClear from "./_listCacheClear.js"; import listCacheDelete from "./_listCacheDelete.js"; import listCacheGet from "./_listCacheGet.js"; import listCacheHas from "./_listCacheHas.js"; import listCacheSet from "./_listCacheSet.js"; function ListCache(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]); } } ListCache.prototype.clear = listCacheClear; ListCache.prototype["delete"] = listCacheDelete; ListCache.prototype.get = listCacheGet; ListCache.prototype.has = listCacheHas; ListCache.prototype.set = listCacheSet; export { ListCache as default }; //# sourceMappingURL=_ListCache.js.map