fix corner case in ie8 (#3216)

fixes #3215
This commit is contained in:
Alex Lam S.L
2018-07-19 14:45:36 +08:00
committed by GitHub
parent 8d4b5344f4
commit cea685f8d9
7 changed files with 349 additions and 99 deletions

View File

@@ -5231,11 +5231,11 @@ defun_catch_4: {
try {
throw 42;
} catch (a) {
function a() {}
console.log(a);
}
}
expect_stdout: true
expect_stdout: "42"
node_version: "<=4"
}
defun_catch_5: {
@@ -5257,10 +5257,10 @@ defun_catch_5: {
throw 42;
} catch (a) {
console.log(a);
function a() {}
}
}
expect_stdout: true
expect_stdout: "42"
node_version: "<=4"
}
defun_catch_6: {