aboutsummaryrefslogtreecommitdiff
path: root/test/compress/reduce_vars.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-05-29 00:05:47 +0100
committerGitHub <noreply@github.com>2020-05-29 07:05:47 +0800
commit6a5c63e1e324ba502b060911d54825a93e437da4 (patch)
tree5b7fd7df59e8cec54a66f1d2fd82ea7a96077e15 /test/compress/reduce_vars.js
parentd47ea77811c5b5935578e29203db99739683f5f5 (diff)
downloadtracifyjs-6a5c63e1e324ba502b060911d54825a93e437da4.tar.gz
tracifyjs-6a5c63e1e324ba502b060911d54825a93e437da4.zip
enhance `evaluate`, `functions` & `inline` (#3931)
Diffstat (limited to 'test/compress/reduce_vars.js')
-rw-r--r--test/compress/reduce_vars.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js
index 94852d45..9168e81b 100644
--- a/test/compress/reduce_vars.js
+++ b/test/compress/reduce_vars.js
@@ -2724,8 +2724,8 @@ issue_1814_1: {
expect: {
!function() {
!function(a) {
- console.log(a++, 42);
- }(0);
+ console.log(0, 42);
+ }();
}();
}
expect_stdout: "0 42"
@@ -2751,8 +2751,8 @@ issue_1814_2: {
expect: {
!function() {
!function(a) {
- console.log("321", a++);
- }(0);
+ console.log("321", 0);
+ }();
}();
}
expect_stdout: "321 0"