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