summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInterpreterReentry3.js
blob: 5c3e7a3d0bbf207f9dc3c54ad28396da934a596f (plain)
1
2
3
4
5
6
function testInterpreterReentry3() {
    for (let i=0;i<5;++i) this["y" + i] = function(){};
    this.__defineGetter__('e', function* (x2) { yield; });
    return 1;
}
assertEq(testInterpreterReentry3(), 1);