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