Sign in
webkit
/
WebKit
/
7e009aa6ca8ae5803722c93d1141121f84c9ae8f
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
arrow-args
/
arrow-args.es5
blob: 252c02a7c802fe4e847d1bdd8ba0f8ee334d7578 [
file
] [
log
] [
blame
]
var
obj
=
{
value
:
42
,
fn
:
function
()
{
var
args
=
arguments
;
return
function
()
{
return
args
[
0
];
};
}
};
var
fn
=
obj
.
fn
(
1
);
assertEqual
(
fn
(),
1
);
test
(
function
()
{
fn
();
});