Re:How One Missing `var` Ruined our Launch
by speleding on Wednesday November 02, 2011 @04:28AM
(#3185844)
Global versus local variables is not determined by syntax in javascript, it's determined by semantics (you need to parse javascript to find out). A few editors can do that, but you could really call those an IDE already.
[ Parent
| on HN ]
Re:How One Missing `var` Ruined our Launch
by thomblake on Friday November 11, 2011 @02:47PM
(#3225874)
Parsing is syntax. Interpretation is semantics. Just parsing JS just gives you information about its syntax, and any decent editor (like vim or emacs) has a programmable interface such that you can write a JS parser.