Debian Codegraph @

packages/babel-plugin-transform-new-target/test/fixtures/general/class-properties/exec.js

raw
1 class Foo {
2 constructor() {
3 this.Bar = class {
4 static p = new.target
5 }
6 }
7 }
8
9 expect((new Foo).Bar.p).toBeUndefined()