enhance join_vars (#3783)

This commit is contained in:
Alex Lam S.L
2020-04-16 22:31:33 +01:00
committed by GitHub
parent 46d142cbf6
commit 0ce71bbec0
5 changed files with 65 additions and 21 deletions

View File

@@ -1875,8 +1875,8 @@ join_expr: {
expect: {
var c = "FAIL";
(function() {
var a = 0;
switch (a = { b: 0 }, a.b) {
var a = 0, a = { b: 0 };
switch (a.b) {
case 0:
c = "PASS";
}