Sign in
webkit
/
WebKit
/
84f33502937aafb6ce5356edb4e15b2b5212e0f3
/
.
/
JSTests
/
es6
/
rest_parameters_function_length_property.js
blob: 394bd84f38777cd0644b5c692cb4a032159e3dd4 [
file
] [
log
] [
blame
]
function
test
()
{
return
function
(
a
,
...
b
){}.
length
===
1
&&
function
(...
c
){}.
length
===
0
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);