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