Sign in
webkit
/
WebKit
/
fff5469af9e21121a01bc52b64d66a2e93b51665
/
.
/
JSTests
/
es6
/
destructuring_trailing_commas_in_iterable_patterns.js
blob: 8a6a082c9e867b82b3a750a413a6af6b7b7b32f1 [
file
] [
log
] [
blame
]
function
test
()
{
var
[
a
,]
=
[
1
];
return
a
===
1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);