I would hope that minifiers use a JS parser!
Re:Poll: Semicolons in JavaScript
by bruceboughton on Monday July 26, 2010 @10:20AM
(#1548070)
I imagine much of the minification could be done using just a lexer rather than a full parser. I'm quite probably wrong though.
This really shows the cost of this syntactic nicety to the language.