enhance inline & unused (#5245)

This commit is contained in:
Alex Lam S.L
2022-01-01 21:40:43 +00:00
committed by GitHub
parent 8d0422b6f3
commit 87a7426598
17 changed files with 992 additions and 236 deletions

View File

@@ -41,10 +41,8 @@ reduce_vars: {
}
expect: {
var A = 1;
(function() {
console.log(-3);
console.log(A - 5);
})();
console.log(-3);
console.log(A - 5);
(function f1() {
var a = 2;
console.log(a - 5);
@@ -6690,7 +6688,8 @@ issues_3267_1: {
}
expect: {
!function(x) {
if (Object())
var i = Object();
if (i)
return console.log("PASS");
throw "FAIL";
}();