(source)
| 37 | |
| 38 | // Shadow variable with a with statement. |
| 39 | function testWith(source) { |
| 40 | with ({ x: 1 }) { |
| 41 | eval('eval(' + source +')'); |
| 42 | } |
| 43 | } |
| 44 | testWith('assertEquals(1, x)'); |
| 45 | |
| 46 | // Shadow variable with an eval-introduced variable. |
no test coverage detected