blob: b9bea5961517e57b76b06b2ed631ced32a179021 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
var res = undefined;
function X() {
try {
foobar();
} catch (e) {
res = this.hasOwnProperty("prop");
}
this.prop = 1;
}
for (var i = 0; i < 50; i++) {
new X();
assertEq(res, false);
}
|