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