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