Sign in
webkit
/
WebKit
/
e0f5f32b82f576e50c4ce4b81eede6e14ad0d44f
/
.
/
JSTests
/
es6
/
object_literal_extensions_computed_properties.js
blob: 6a6a6f7a112b3b869ce9626f6285108b5758dcf7 [
file
] [
log
] [
blame
]
function
test
()
{
var
x
=
'y'
;
return
({
[
x
]:
1
}).
y
===
1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);