1 2 3 4 5 6 7
a = b = c = d = 0; this.__defineGetter__("e", function () { throw StopIteration; }) try { for each(f in this) {} } catch (exc) { assertEq(exc, StopIteration); }