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