michael@0: // 'this' in generator-expression in strict-mode toplevel michael@0: // is the same as global 'this'. michael@0: michael@0: "use strict"; michael@0: michael@0: var it1 = (this for (x of [0])); michael@0: assertEq(it1.next(), this); michael@0: michael@0: var it2 = (this for (x of (this for (y of (this for (z of [0])))))); michael@0: assertEq(it2.next(), this);