aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 48a67d41..48f87e6a 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -1464,6 +1464,8 @@ merge(Compressor.prototype, {
return make_node(AST_Undefined, self);
case "NaN":
return make_node(AST_NaN, self);
+ case "Infinity":
+ return make_node(AST_Infinity, self);
}
}
return self;