Sign in
webkit
/
WebKit
/
706caf297da7aa008797b72008d543d8e2d08fc3
/
.
/
JSTests
/
es6
/
destructuring_empty_patterns_in_parameters.js
blob: 63d85bda424177529ae0a2a32a732a21fa249110 [
file
] [
log
] [
blame
]
function
test
()
{
return
function
([],{}){
return
arguments
[
0
]
+
''
===
"3,4"
&&
arguments
[
1
].
x
===
"foo"
;
}([
3
,
4
],{
x
:
"foo"
});
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);