WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / function_name_property_class_static_methods.js
1 function test() {
2
3 class C { static foo(){} };
4 return C.foo.name === "foo";
5       
6 }
7
8 if (!test())
9     throw new Error("Test failed");
10