let foo = () => { let x = 1; print(x); return x; }; let main = () => { let x = 2; /* As you see, the language supports variable scopes */ foo(); print(x); return x; };