Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ makeObj
Function
makeObj
assert/equal_test.ts:435–439 ·
view source on GitHub ↗
(val: number)
Source
from the content-addressed store, hash-verified
433
},
434
};
435
const
makeObj = (val: number): Obj => {
436
const
x = Object.create(proto);
437
wm.set(x, val);
438
return
x;
439
};
440
441
assert(equal(
442
makeObj(1),
Callers
1
equal_test.ts
File · 0.85
Calls
1
set
Method · 0.65
Tested by
no test coverage detected