Edit This Code:
See Result »
A function can access variables defined outside the function:
Click Me!
Result: