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

Function fun2

deps/v8/test/mjsunit/object-literal-overwrite.js:103–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101var glob2 = 0;
102
103function fun2() {
104 var r = {y: glob2++, y: glob2++, y: glob2++, y: 7};
105 return r.y;
106}
107
108var y = fun2();
109assertEquals(7, y);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected