WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / Object.prototype.__proto___get_prototype.js
1 function test() {
2
3 var A = function(){};
4 return (new A()).__proto__ === A.prototype;
5       
6 }
7
8 if (!test())
9     throw new Error("Test failed");
10