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