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