Closed GoogleCodeExporter closed 9 years ago
The described behavior is correct. Variables created without the "var" keyword
are created in global scope (which is, by the way, a very bad practice), but
the "this" keyword referes to module's exports object.
Original comment by ondrej.zara
on 4 Jan 2011 at 9:13
Original issue reported on code.google.com by
nanoyo...@yahoo.it
on 4 Jan 2011 at 8:05