minor tweaks (#3502)

This commit is contained in:
Alex Lam S.L
2019-10-20 15:19:19 +08:00
committed by GitHub
parent ca6dce43fe
commit 9199ab5846
4 changed files with 40 additions and 78 deletions

View File

@@ -4947,7 +4947,7 @@ defun_single_use_loop: {
unused: true,
}
input: {
for (var x, i = 2; --i >= 0; ) {
for (var x, i = 2; --i >= 0;) {
var y = x;
x = f;
console.log(x === y);
@@ -4955,7 +4955,7 @@ defun_single_use_loop: {
function f() {};
}
expect: {
for (var x, i = 2; --i >= 0; ) {
for (var x, i = 2; --i >= 0;) {
var y = x;
x = f;
console.log(x === y);