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

Function makeC

deps/v8/test/mjsunit/harmony/public-instance-class-fields.js:249–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247
248(function test() {
249 function makeC() {
250 var x = 1;
251
252 return class {
253 a = () => () => x;
254 }
255 }
256
257 let C = makeC();
258 let c = new C;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected