From e915832a36730c7eb29328c84ab9c5eecf1cb1f6 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sun, 1 Dec 2019 18:10:37 +0800 Subject: enhance `unused` (#3617) --- test/compress/evaluate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/compress/evaluate.js') diff --git a/test/compress/evaluate.js b/test/compress/evaluate.js index 09fdfb2a..fadf717e 100644 --- a/test/compress/evaluate.js +++ b/test/compress/evaluate.js @@ -1674,7 +1674,7 @@ if_increment: { }(0)); } expect: { - console.log(function(a) { + console.log(function() { if (console) return 1; }()); @@ -1696,7 +1696,7 @@ try_increment: { }(0)); } expect: { - console.log(function(a) { + console.log(function() { try { return 1; } catch (e) {} -- cgit v1.2.3