UNPKG

cione-comp-lib

Version:

`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`

17 lines (16 loc) 560 B
import ListCache from "./_ListCache.mjs"; import stackClear from "./_stackClear.mjs"; import stackDelete from "./_stackDelete.mjs"; import stackGet from "./_stackGet.mjs"; import stackHas from "./_stackHas.mjs"; import stackSet from "./_stackSet.mjs"; function Stack(entries) { var data = this.__data__ = new ListCache(entries); this.size = data.size; } Stack.prototype.clear = stackClear; Stack.prototype["delete"] = stackDelete; Stack.prototype.get = stackGet; Stack.prototype.has = stackHas; Stack.prototype.set = stackSet; export { Stack as default };