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