blob: d29d3303d36b6fd9d63dce3607c16436cdde70f9 [file] [log] [blame]
var obj = {a: 0, b: 0, c: 0, d: 0, get e() { throw StopIteration; }};
try {
for each (x in obj) {}
FAIL;
} catch (exc) {
assertEq(exc, StopIteration);
}