Sign in
webkit
/
WebKit
/
b8c4f298d7fe8d2281848c37f3bdca0459587717
/
.
/
JSTests
/
es6
/
destructuring_chained_iterable_destructuring.js
blob: 0ed27f0f62eca0cdb3127dd6b6bf3db0ec71ce31 [
file
] [
log
] [
blame
]
function
test
()
{
var
a
,
b
,
c
,
d
;
[
a
,
b
]
=
[
c
,
d
]
=
[
1
,
2
];
return
a
===
1
&&
b
===
2
&&
c
===
1
&&
d
===
2
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);