1 2 3 4 5 6 7 8 9 10 11 12
rakho a = "global"; { kaam showA() { bolo a; } // Prints global both times because scope is static (only the values defined before showA are accessible, even if they are set to something else afterwards) showA(); rakho a = "block"; showA(); }