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