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