Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
arityMismatchExtraArg.js
blob: 6803368acd08828d495073b04cc706e8739fa485 [
file
] [
log
] [
blame
]
function
arityMismatchMissingArg
(
arg
)
{
for
(
var
a
=
0
,
i
=
1
;
i
<
10000
;
i
*=
2
)
{
a
+=
i
;
}
return
a
;
}
function
arityMismatchExtraArg
()
{
return
arityMismatchMissingArg
(
1
,
2
);
}
assertEq
(
arityMismatchExtraArg
(),
16383
);