const x = makeCounter()
Reset
No counters yet. Press the button to make one.
// output appears here
Each box is the
count
variable created by one call to
makeCounter
. Counter b never touches the box of counter a.