Sign in
webkit
/
WebKit
/
d79f7faf1741e287395091ba9e177bbe8eb04d43
/
.
/
JSTests
/
es6
/
destructuring_multiples_in_a_single_var_statement.js
blob: 873e02494eac9d3610b1c91eb742a43b40df57cc [
file
] [
log
] [
blame
]
function
test
()
{
var
[
a
,
b
]
=
[
5
,
6
],
{
c
,
d
}
=
{
c
:
7
,
d
:
8
};
return
a
===
5
&&
b
===
6
&&
c
===
7
&&
d
===
8
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);