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