blob: 4c5e2527a86c9cf0eefe6c73120b79baccd36bc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Test that functions in block that do not exhibit Annex B do not override
// previous functions that do exhibit Annex B.
function f() {
var outerX;
{ function x() {1} outerX = x; }
{ { function x() {2}; } let x; }
{ let x; { function x() {3}; } }
assertEq(x, outerX);
}
f();
if (typeof reportCompare === "function")
reportCompare(0, 0);
|