Hi,

I know this works in JS:

for (var i=0,j="foo";i<5; i++) {dump(i);}
dump(j);

It breaks typical scoping rules, but is there anything problematic with
it? Is everything "global" so it doesn't matter if I do this?

thanks,
eric

_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to