BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / miscellaneous_subclassables_Boolean_is_subclassable.js
1 function test() {
2
3 class C extends Boolean {}
4 var c = new C(true);
5 return c instanceof Boolean
6   && c == true;
7       
8 }
9
10 if (!test())
11     throw new Error("Test failed");
12