]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/varargs-exit.js
7 var tmp
= arguments
[0] + 1;
8 return tmp
+ foo
.apply(null, a
);
13 for (var i
= 0; i
< 10000; ++i
) {
14 var result
= bar(1, 2);
15 if (result
!= 1 + 1 + 3)
16 throw "Error: bad result: " + result
;
19 var result
= bar(1.5, 2);
20 if (result
!= 1.5 + 1 + 3.5)
21 throw "Error: bad result at end: " + result
;