11 lines
164 B
JavaScript
11 lines
164 B
JavaScript
class Base {
|
|
constructor() {
|
|
this.Foo = class {
|
|
static {
|
|
this.foo = new.target;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
expect((new Base).Foo.foo).toBe(undefined);
|