Debian Codegraph @

packages/babel-plugin-proposal-class-static-block/test/fixtures/integration/new-target/exec.js

raw
1 class Base {
2 constructor() {
3 this.Foo = class {
4 static {
5 this.foo = new.target;
6 }
7 }
8 }
9 }
10 expect((new Base).Foo.foo).toBe(undefined);