BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / Array_static_methods_Array.from_generator_instances.js
1 function test() {
2
3 var iterable = (function*(){ yield 1; yield 2; yield 3; }());
4 return Array.from(iterable) + '' === "1,2,3";
5       
6 }
7
8 if (!test())
9     throw new Error("Test failed");
10