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