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