Sign in
webkit
/
WebKit
/
bc3bd7331f8afd107c43880ce2c020876d9bce51
/
.
/
JSTests
/
es6
/
destructuring_empty_patterns.js
blob: 0f5177f147bde22fc98d1a74c7f075d62397e444 [
file
] [
log
] [
blame
]
function
test
()
{
[]
=
[
1
,
2
];
({}
=
{
a
:
1
,
b
:
2
});
return
true
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);