enhance unused (#3617)

This commit is contained in:
Alex Lam S.L
2019-12-01 18:10:37 +08:00
committed by GitHub
parent 0593892d6e
commit e915832a36
7 changed files with 62 additions and 44 deletions

View File

@@ -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) {}