enhance varify (#4303)

This commit is contained in:
Alex Lam S.L
2020-11-18 23:58:33 +00:00
committed by GitHub
parent aecbabc587
commit db87dcf13e
2 changed files with 22 additions and 1 deletions

View File

@@ -390,3 +390,22 @@ issue_4290_1_let: {
expect_stdout: true
node_version: ">=4"
}
drop_forin_let: {
options = {
loops: true,
toplevel: true,
unused: true,
varify: true,
}
input: {
"use strict";
for (let a in console.log("PASS"));
}
expect: {
"use strict";
console.log("PASS");
}
expect_stdout: "PASS"
node_version: ">=4"
}