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

Method evalX

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

Source from the content-addressed store, hash-verified

2007 assertEquals(1, eval('super.m()'));
2008 }
2009 evalX() {
2010 assertEquals(2, eval('super.x'));
2011 }
2012 globalEval1() {
2013 assertThrows('super.x', SyntaxError);
2014 assertThrows('super.m()', SyntaxError);

Callers 2

super.jsFile · 0.80

Calls 2

evalFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected