enhance evaluate (#3714)

This commit is contained in:
Alex Lam S.L
2020-02-12 01:01:17 +00:00
committed by GitHub
parent f4c77886e7
commit dd22eda888
2 changed files with 54 additions and 48 deletions

View File

@@ -2071,13 +2071,8 @@ issue_1670_6: {
}
expect: {
(function(a) {
switch (1) {
case a = 1:
console.log(a);
break;
default:
console.log(2);
}
a = 1;
console.log(a);
})(1);
}
expect_stdout: "1"