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

Function testClassFieldCallWithFNI

deps/v8/test/mjsunit/stack-traces-class-fields.js:195–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193);
194
195function testClassFieldCallWithFNI() {
196 class X {
197 x = function() {
198 FAIL;
199 };
200 }
201
202 let x = new X();
203 x.x();
204}
205
206// ReferenceError: FAIL is not defined
207// at X.x

Callers

nothing calls this directly

Calls 1

xMethod · 0.95

Tested by

no test coverage detected