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