diff --git a/lib/util/defaultmap.js b/lib/util/defaultmap.js deleted file mode 100644 index e863962..0000000 --- a/lib/util/defaultmap.js +++ /dev/null @@ -1,18 +0,0 @@ - -// export class DefaultMap { -// constructor(defaultValue, ...rest) { -// this.defaultValue = defaultValue; -// this.m = new Map(rest); -// } -// getdefault(key, addToMapping = false) { -// return this.m.get(key) || (() => { -// const val = this.defaultValue(key); -// if (addToMapping) -// this.m.set(key, val); -// return val; -// })(); -// } -// entries() { -// return this.m.entries(); -// } -// }