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