Re:Fogus: Node.js should become its own language
by udp on Tuesday April 12, 2011 @10:04AM
(#2437214)
That was me who mentioned it, actually :-) Yes, I see what you mean now, sorry!
This reminds me of bug in the Visual C++ 6.0 compiler, where a variable declared in the "head" of a for loop would continue to exist after the loop scope had closed. Javascript has exactly the same problem, but by design, due to only having global and function-level scope.
This reminds me of bug in the Visual C++ 6.0 compiler, where a variable declared in the "head" of a for loop would continue to exist after the loop scope had closed. Javascript has exactly the same problem, but by design, due to only having global and function-level scope.