WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / Reflect_Reflect.construct_creates_instance_from_newTarget_argument.js
1 function test() {
2
3 function F(){}
4 return Reflect.construct(function(){}, [], F) instanceof F;
5       
6 }
7
8 if (!test())
9     throw new Error("Test failed");
10