3 ms·
As another comment said, this works the same way in def and lambda. This same thing happens in Javascript: http://markheath.net/post/javascript-closure-loop-go
by fulafel 8y ago
As another comment said, this works the same way in def and lambda. This same thing happens in Javascript:
http://markheath.net/post/javascript-closure-loop-gotcha http://markheath.net/post/javascript-closure-loop-gotcha