aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-02-26 08:43:53 +0000
committerGitHub <noreply@github.com>2021-02-26 16:43:53 +0800
commitea52339502ac0436532e55a6980df0785736c8fb (patch)
tree2617155b83a8b95536378219d0373afeb687f88d /lib
parent992952d8f6101ebefecf6ca5291d31290da8862f (diff)
downloadtracifyjs-ea52339502ac0436532e55a6980df0785736c8fb.tar.gz
tracifyjs-ea52339502ac0436532e55a6980df0785736c8fb.zip
use strict-mode-safe placeholder (#4694)
Diffstat (limited to 'lib')
-rw-r--r--lib/compress.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compress.js b/lib/compress.js
index b2825ada..16d86d90 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -8738,9 +8738,9 @@ merge(Compressor.prototype, {
}
function make_void_lhs(orig) {
- return make_node(AST_Sub, orig, {
- expression: make_node(AST_Number, orig, { value: 0 }),
- property: make_node(AST_Number, orig, { value: 0 }),
+ return make_node(AST_Dot, orig, {
+ expression: make_node(AST_Array, orig, { elements: [] }),
+ property: "e",
});
}