2021-03-12 23:29:55 +01:00

11 lines
164 B
JavaScript

class Base {
constructor() {
this.Foo = class {
static {
this.foo = new.target;
}
}
}
}
expect((new Base).Foo.foo).toBe(undefined);