Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testFunctionStatementNamedArguments.js
blob: 967ab3e938b906847cd2179cdfc334841536156c [
file
] [
log
] [
blame
]
var
g
;
function
foo
(
b
)
{
if
(
b
)
function
arguments
()
{};
return
arguments
;
}
var
a
=
foo
(
true
);
assertEq
(
typeof
a
,
"function"
);
assertEq
(
a
.
name
,
"arguments"
);