10 lines
160 B
TypeScript
10 lines
160 B
TypeScript
|
let Foo = class {
|
||
|
constructor() {
|
||
|
this.bar++;
|
||
|
}
|
||
|
bar = 0;
|
||
|
inc = () => {
|
||
|
this.bar++;
|
||
|
}
|
||
|
m() { return this.bar; }
|
||
|
}
|