lautis/uglifier — Issue #17: "if (v) debugger" doesn't uglify well
Author: jdelStrother
Created: 2011-10-11 13:14:43+00:00
State: open

Heya,
The uglifier converts if(){debugger} statements like so -
```
Uglifier.new.compile('if (value) debugger') #=> "value&&debugger"
```

which (at least in Chrome & Firefox) raises a syntax error (Unexpected token debugger).

It could perhaps be argued that the debugger statement shouldn't be in minified production code, but it caught me by surprise & took quite a while to track down the syntax error in the minified js. Any thoughts?