|
|
|
|
|
by jaysoo
5840 days ago
|
|
> #13 In any code block, store local references to out-of-scope variables. That doesn't even make sense. The for-loop block doesn't create a new scope, so it's perfectly valid to refer to the variable `a`. Plus, even if you create a new scope, you can still refer to `a` due to closure. |
|