Closed GoogleCodeExporter closed 9 years ago
Original comment by a...@google.com
on 21 Feb 2011 at 4:26
Just a thought, couldn't a linter quite easily (and I guess also the Closure
compiler) include a warning for code like the above? i.e: "if (typeof foo ==
'MISSPELLED_TYPE_THAT_CANNOT_EXIST') .." ?
I guess we all have typed "undefid" some time for example..
Original comment by fblomqvist@gmail.com
on 24 Feb 2011 at 10:08
Original comment by michaelt...@google.com
on 7 Mar 2011 at 8:24
Great! (though it doesn't seem to be available in the trunk yet?)
FYI, I also cross-posted the typeof check feature idea as a Clousure Compiler
issue: http://code.google.com/p/closure-compiler/issues/detail?id=370
Original comment by fblomqvist@gmail.com
on 8 Mar 2011 at 11:17
Original issue reported on code.google.com by
fblomqvist@gmail.com
on 20 Feb 2011 at 1:23