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

Function fun

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

Source from the content-addressed store, hash-verified

77// Test for the classic code generator.
78
79function fun(x) {
80 var inner = {
81 j: function(x) {
82 return x;
83 },
84 j: 7
85 };
86 return inner.j;
87}
88
89assertEquals(7, fun(7));
90

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected