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

Method m2

deps/v8/test/mjsunit/es6/home-object-in-context.js:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 OuterBase.prototype.x = 'right';
37 class Outer extends OuterBase {
38 m2() {
39 let my_proto = {
40    __proto__ : {'x': 'wrong' },
41    m: () => super.x,
42 };
43 let o = {__proto__: my_proto};
44 return o.m();
45 }
46 }
47 assertEquals('right', (new Outer()).m2());
48})();

Callers 1

Calls 1

mMethod · 0.45

Tested by

no test coverage detected