6 lines
90 B
TypeScript
6 lines
90 B
TypeScript
let C = class {
|
|
foo() {
|
|
return new C();
|
|
}
|
|
};
|
|
let x = (new C).foo();
|