MCPcopy Create free account
hub / github.com/WebReflection/weak-value / clear

Method clear

esm/index.js:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 clear() {
43 for (const [_, [ref]] of super[iterator]())
44 this.#registry.unregister(ref);
45 super.clear();
46 }
47
48 delete(key) {
49 const pair = super.get(key);

Callers 1

index.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected