blob: 7778dd02a7941f5bb91ccfce408b5663c6f996eb [file] [log] [blame]
var x = {f: 1, g: 0};
function f() {
for each (new f().nosuch.prop in x)
throw 'FAIL';
}
var e;
try {
f();
} catch (exc) {
e = exc;
}
assertEq(e instanceof InternalError, true);