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

Method arrow

deps/v8/test/mjsunit/es6/super.js:2038–2042  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2036 }
2037 class Derived extends Base {
2038 arrow() {
2039 assertSame(super.x, (() => super.x)());
2040 assertSame(super.m(), (() => super.m())());
2041 return (() => super.m())();
2042 }
2043 }
2044 let d = new Derived();
2045 assertSame(1, d.arrow());

Callers 2

super.jsFile · 0.80

Calls 2

assertSameFunction · 0.50
mMethod · 0.45

Tested by

no test coverage detected