Re: Functions and loops
- --- In firstname.lastname@example.org, "Alan Green" <alan.green.mail@...>
>The common failure case was shown in the example, attaching event
> explain why one should make the function valus in a closure.
handlers in a loop. If the event handlers are bound to variables that
are mutated by the loop, then they are likely to work incorrectly.