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