fix corner case in unused

This commit is contained in:
alexlamsl
2018-07-01 14:34:42 +08:00
parent 6aa750010f
commit 5ffc17d4aa
56 changed files with 1588 additions and 973 deletions

View File

@@ -1,5 +1,5 @@
NaN_and_Infinity_must_have_parens: {
options = {};
options = {}
input: {
Infinity.toString();
NaN.toString();
@@ -11,7 +11,7 @@ NaN_and_Infinity_must_have_parens: {
}
NaN_and_Infinity_should_not_be_replaced_when_they_are_redefined: {
options = {};
options = {}
input: {
var Infinity, NaN;
Infinity.toString();