diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compress.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/compress.js b/lib/compress.js index dcd376ca..ed664a28 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -1656,6 +1656,11 @@ merge(Compressor.prototype, { case "<=": reverse(">="); break; } } + if (self.operator == "+" && self.right instanceof AST_String + && self.right.getValue() === "" && self.left instanceof AST_Binary + && self.left.operator == "+" && self.left.is_string()) { + return self.left; + } return self; }); |