demonstrating scoping behavior in different languages