Sign in
webkit
/
WebKit
/
e0f5f32b82f576e50c4ce4b81eede6e14ad0d44f
/
.
/
JSTests
/
es6
/
destructuring_object_destructuring_expression.js
blob: a0d7dab046d4b89604100e016d12e214adfba125 [
file
] [
log
] [
blame
]
function
test
()
{
var
a
,
b
,
obj
=
{
a
:
1
,
b
:
2
};
return
({
a
,
b
}
=
obj
)
===
obj
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);