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