diff options
Diffstat (limited to 'lib/output.js')
-rw-r--r-- | lib/output.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js index a63671c6..86c0931e 100644 --- a/lib/output.js +++ b/lib/output.js @@ -783,6 +783,8 @@ function OutputStream(options) { var p = output.parent(); if (p instanceof AST_PropAccess && p.expression === this) { var value = this.value; + // https://github.com/mishoo/UglifyJS2/issues/115 + // https://github.com/mishoo/UglifyJS2/pull/1009 if (value < 0 || /^0/.test(make_num(value))) { return true; } |