MCPcopy Create free account
hub / github.com/nodejs/node / createHoleyArrayInArray

Function createHoleyArrayInArray

deps/v8/test/mjsunit/object-in-array.js:150–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148// HOLEY_ELEMENTS:
149{
150 function createHoleyArrayInArray() {
151 return [['a', , 'b']];
152 }
153 test(createHoleyArrayInArray, (o) => o[0][0], (o) => o[0][0] = 'c', 'a');
154 const o1 = createHoleyArrayInArray();
155 assertTrue(0 in o1[0]);

Callers 1

object-in-array.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected