Sign in
webkit
/
WebKit
/
ff7d0633d03abf413813ca580d38def1102dae91
/
.
/
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"
);