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