crafting-interpreters/lox/scoping.lox

10 lines
97 B
Text

var a = "global";
{
fun showA() {
print a;
}
showA();
var a = "block";
showA();
}