(a)
| 139 | BeginTest("Closure 1"); |
| 140 | |
| 141 | function closure_1(a) { |
| 142 | var x = 2; |
| 143 | let y = 3; |
| 144 | if (true) { |
| 145 | let z = 4; |
| 146 | function f() { |
| 147 | debugger; |
| 148 | return a + x + y + z; |
| 149 | }; |
| 150 | return f; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | listener_delegate = function(exec_state) { |
| 155 | CheckScopeChain([debug.ScopeType.Local, |