mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-12 06:58:22 -05:00
6 lines
120 B
TypeScript
6 lines
120 B
TypeScript
export default function main() {
|
|
const foo = 0;
|
|
foo++; // Compile-time error (unlike JS at runtime)
|
|
return foo;
|
|
}
|