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