2 lines
196 B
Markdown
2 lines
196 B
Markdown
|
|
The solution uses `count` in the local variable, but addition methods are written right into the `counter`. They share the same outer lexical environment and also can access the current `count`.
|