Sign in
webkit
/
WebKit
/
246a932bc3d8d389a5826db666e02a3330ed90e1
/
.
/
JSTests
/
es6
/
destructuring_in_parameters_function_length_property.js
blob: 31d70259c6c94c01f3fdbd72ccd71344b84596f4 [
file
] [
log
] [
blame
]
function
test
()
{
return
function
({
a
,
b
},
[
c
,
d
]){}.
length
===
2
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);