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