Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
DCoder
· 11y ago · 0 comments
Google Closure Compiler [1] can also perform dead code removal, but it requires extra work annotating all public APIs and naturally it can't cope with dynamic/indirect calls.
[1]:
https://developers.google.com/closure/compiler/
Comments
[–]
warfangle
11y ago
So does UglifyJS. At least, obviously dead code (e.g., if(false) {} )