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