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