UNPKG

vue-app-sdk

Version:
16 lines (15 loc) 620 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); const _MapCache = require("./_MapCache.cjs"); const _setCacheAdd = require("./_setCacheAdd.cjs"); const _setCacheHas = require("./_setCacheHas.cjs"); function SetCache(values) { var index = -1, length = values == null ? 0 : values.length; this.__data__ = new _MapCache.default(); while (++index < length) { this.add(values[index]); } } SetCache.prototype.add = SetCache.prototype.push = _setCacheAdd.default; SetCache.prototype.has = _setCacheHas.default; exports.default = SetCache;