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