Release assert with <img usemap> in shadow tree
[WebKit-https.git] / JSTests / es6 / generators_yield_operator_precedence.js
1 function test() {
2
3 var passed;
4 function * generator(){
5   passed = yield 0 ? true : false;
6 };
7 var iterator = generator();
8 iterator.next();
9 iterator.next(true);
10 return passed;
11       
12 }
13
14 if (!test())
15     throw new Error("Test failed");
16