Understanding block scope