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