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

File index.js

test/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const WeakValue = require('../cjs');
2
3const wv = new WeakValue([['key', {a: 1}]]);
4const collected = [];

Callers

nothing calls this directly

Calls 8

hasMethod · 0.45
deleteMethod · 0.45
setMethod · 0.45
getMethod · 0.45
forEachMethod · 0.45
entriesMethod · 0.45
valuesMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected