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