BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / WeakSet_constructor_requires_new.js
1 function test() {
2
3 new WeakSet();
4 try {
5   WeakSet();
6   return false;
7 } catch(e) {
8   return true;
9 }
10       
11 }
12
13 if (!test())
14     throw new Error("Test failed");
15