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