summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/arityMismatchMissingArg.js
blob: 79284e9487ebd1b90f131b9fa7a8541a10b40e7a (plain)
1
2
3
4
5
6
7
8
function arityMismatchMissingArg(arg)
{
  for (var a = 0, i = 1; i < 10000; i *= 2) {
    a += i;
  }
  return a;
}
assertEq(arityMismatchMissingArg(), 16383);