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