aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1105.js
AgeCommit message (Collapse)Author
2017-04-01improve compression of undefined, NaN & Infinitiy (#1748)Alex Lam S.L
- migrate transformation logic from `OutputStream` to `Compressor` - always turn `undefined` into `void 0` (unless `unsafe`) - always keep `NaN` except when avoiding local variable redefinition - introduce `keep_infinity` to suppress `1/0` transform, except when avoiding local variable redefinition supersedes #1723 fixes #1730
2017-03-29output optimal representations of NaN & Infinity (#1723)Alex Lam S.L
- move these optimisations out from `Compressor` to `OutputStream` - fixes behaviour inconsistency when running uglified code from global or module levels due to redefinition
2016-06-21Don't replace undefined, NaN and Infinity within with scopekzc
2016-06-12Don't drop unused if scope uses with statementAnthony Van de Gejuchte
Fix provided by @kzc