Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
const
WeakValue = require(
'../cjs'
);
2
3
const
wv =
new
WeakValue([[
'key'
, {a: 1}]]);
4
const
collected = [];
Callers
nothing calls this directly
Calls
8
has
Method · 0.45
delete
Method · 0.45
set
Method · 0.45
get
Method · 0.45
forEach
Method · 0.45
entries
Method · 0.45
values
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected