MCPcopy Index your code
hub / github.com/microsoft/SandDance / constructor

Method constructor

docs/app/js/sanddance-app.js:110674–110685  ·  view source on GitHub ↗
(entries, key = keyof)

Source from the content-addressed store, hash-verified

110672parcelHelpers.export(exports, "InternSet", ()=>InternSet);
110673class InternMap extends Map {
110674 constructor(entries, key = keyof){
110675 super();
110676 Object.defineProperties(this, {
110677 _intern: {
110678 value: new Map()
110679 },
110680 _key: {
110681 value: key
110682 }
110683 });
110684 if (entries != null) for (const [key1, value] of entries)this.set(key1, value);
110685 }
110686 get(key) {
110687 return super.get(intern_get(this, key));
110688 }

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected