export default function main() { const foo = 0; foo++; // Compile-time error (unlike JS at runtime) return foo; }