diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compress.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compress.js b/lib/compress.js index 4636716e..17bebf77 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -2267,16 +2267,16 @@ merge(Compressor.prototype, { OPT(AST_Infinity, function (self, compressor) { return make_node(AST_Binary, self, { operator : '/', - left : make_node(AST_Number, null, {value: 1}), - right : make_node(AST_Number, null, {value: 0}) + left : make_node(AST_Number, self, {value: 1}), + right : make_node(AST_Number, self, {value: 0}) }); }); OPT(AST_NaN, function (self, compressor) { return make_node(AST_Binary, self, { operator : '/', - left : make_node(AST_Number, null, {value: 0}), - right : make_node(AST_Number, null, {value: 0}) + left : make_node(AST_Number, self, {value: 0}), + right : make_node(AST_Number, self, {value: 0}) }); }); |