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