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