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