mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04: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;
|
|
};
|
|
}
|