A function can access variables defined outside the function:
Click Me!