Sign in
webkit
/
WebKit
/
1eb5c7a96be3f0d2454365b6a899399e41850726
/
.
/
JSTests
/
es6
/
destructuring_computed_properties.js
blob: 2966b5c5c1e94ef0c74e408b3052e03b4bc974f1 [
file
] [
log
] [
blame
]
function
test
()
{
var
qux
=
"corge"
;
var
{
[
qux
]:
grault
}
=
{
corge
:
"garply"
};
return
grault
===
"garply"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);