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

Function makeClass

deps/v8/test/mjsunit/harmony/private-fields-static.js:225–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223
224{
225 function makeClass() {
226 return class {
227 static #a;
228 static setA(val) { this.#a = val; }
229 static getA() { return this.#a; }
230 }
231 }
232
233 let classA = makeClass();
234 let classB = makeClass();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected