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