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