26 ms·
a = 0 [1, 2, 3].each { |a| } a # => 3
by judofyr 14y ago
a = 0
[1, 2, 3].each { |a| }
a # => 3
- weavejester 14y agoAh, thanks for the clarification. I guess that means there are at least two odd things about scoping in 1.8 loops.
26 ms·