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