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