7 lines
91 B
TypeScript
7 lines
91 B
TypeScript
|
class foo {
|
||
|
static x = 3;
|
||
|
static bar() {
|
||
|
return this.x;
|
||
|
}
|
||
|
}
|
||
|
var x = foo.bar();
|