fix corner case in functions (#4789)

fixes #4788
This commit is contained in:
Alex Lam S.L
2021-03-16 12:58:51 +00:00
committed by GitHub
parent b98ce6c84f
commit 9a9543013c
4 changed files with 50 additions and 5 deletions

View File

@@ -153,7 +153,7 @@ issue_4487: {
}
expect: {
function a() {
var a = console.log(typeof a);
var f = console.log(typeof f);
}
a();
}