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