blob: 21cf1c3264871cf992836abe15c9a6374a678f77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Just don't assert or crash.
function f() {
let c
try {
(eval("\
(function(){\
with(\
this.__defineGetter__(\"x\", function(){for(a = 0; a < 3; a++){c=a}})\
){}\
})\
"))()
} catch(e) {}
}
f()
print(x)
|