Closure capture loop variables

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Fri May 1 18:14:08 PDT 2015


On Saturday, 2 May 2015 at 00:55:19 UTC, Adam D. Ruppe wrote:
> On Friday, 1 May 2015 at 21:46:15 UTC, deadalnix wrote:
>> No it does not. In JS, var declare a variable at function 
>> level, so that is why you see the behavior you see.
>
> Yes, I know, I said that a short while down in that post.

Saw that later :) The important point is that we are in violent 
agreement here.


More information about the Digitalmars-d mailing list