This commit is contained in:
Brent Guffens 2018-01-29 10:03:53 +01:00 committed by GitHub
parent aeabf4bf9b
commit 9f193b9df0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,4 +2,4 @@ The answer: **0,1.**
Functions `counter` and `counter2` are created by different invocations of `makeCounter`. Functions `counter` and `counter2` are created by different invocations of `makeCounter`.
So they have independent outer Lexical Environments, each one has it's own `count`. So they have independent outer Lexical Environments, each one has its own `count`.