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