mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-12 23:18:03 -05:00
13 lines
195 B
TypeScript
13 lines
195 B
TypeScript
//! test_output(-246)
|
|
|
|
export default () => {
|
|
return Foo.Nested.double(Foo.bar);
|
|
};
|
|
|
|
class Foo {
|
|
static bar = -123;
|
|
static Nested = class {
|
|
static double = (x: number) => x * 2;
|
|
};
|
|
}
|