Release assert with <img usemap> in shadow tree
[WebKit-https.git] / JSTests / es6 / spread_..._operator_with_generator_instances_in_calls.js
1 function test() {
2
3 var iterable = (function*(){ yield 1; yield 2; yield 3; }());
4 return Math.max(...iterable) === 3;
5       
6 }
7
8 if (!test())
9     throw new Error("Test failed");
10