enhance merge_vars (#5194)

closes #5182
This commit is contained in:
Alex Lam S.L
2021-11-24 10:21:50 +00:00
committed by alexlamsl
parent bfd0ac7f4b
commit 0b6c185818
6 changed files with 75 additions and 11 deletions

View File

@@ -4857,8 +4857,9 @@ issue_4155: {
}
expect: {
(function() {
void console.log(b);
var b = function() {};
var a;
void console.log(a);
function b() {}
b && console.log(typeof b);
})();
}