blob: 28fe79036aed024e30d691c7d5e0bd2da675b207 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
function arity1(x)
{
return (x == undefined) ? 1 : 0;
}
function missingArgTest() {
var q;
for (var i = 0; i < 10; i++) {
q = arity1();
}
return q;
}
assertEq(missingArgTest(), 1);
|