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

Method test

deps/v8/test/mjsunit/harmony/static-private-methods.js:210–212  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

208 class C {
209 static #m(v) { return v; }
210 static test(str) {
211 return eval(str);
212 }
213 }
214
215 assertEquals(C.test('this.#m(1)'), 1);

Callers

nothing calls this directly

Calls 1

evalFunction · 0.50

Tested by

no test coverage detected