13 lines
183 B
JavaScript
13 lines
183 B
JavaScript
class Base {
|
|
constructor() {
|
|
this.Foo = class {
|
|
static #_ = (() => {
|
|
this.foo = new.target;
|
|
})();
|
|
};
|
|
}
|
|
|
|
}
|
|
|
|
expect(new Base().Foo.foo).toBe(undefined);
|