1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-04-28 08:22:15 +00:00

9 lines
117 B
TypeScript
Raw Normal View History

class Foo {
static bar: i32 = 42;
static getBar(): i32 {
return this.bar;
}
}
assert(Foo.getBar() == 42);