Sign in
webkit
/
WebKit
/
d158dceef24649669aba9fdeae8c00646ba7bdc2
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
rest
/
rest.es6
blob: 41e4d916115ae3d25078c7f2af2d47bc94cf11f6 [
file
] [
log
] [
blame
]
function
fn
(
foo
,
...
args
)
{
return
args
[
0
];
}
assertEqual
(
fn
(),
undefined
);
assertEqual
(
fn
(
2
),
undefined
);
assertEqual
(
fn
(
2
,
4
),
4
);
test
(
function
()
{
fn
();
fn
(
2
);
fn
(
2
,
4
);
});