Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ createObjectInNestedArray
Function
createObjectInNestedArray
deps/v8/test/mjsunit/object-in-array.js:226–228 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
224
{
225
const
outsideObject = {a: T, b: 2};
226
function
createObjectInNestedArray() {
227
return
[[outsideObject]];
228
}
229
test(createObjectInNestedArray, (o) => o[0][0].a);
230
231
const
o1 = createObjectInNestedArray();
Callers
1
object-in-array.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected