]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/varargs-varargs-closure-inlined-exit.js
8 var tmp
= arguments
[0] + 1;
9 return tmp
+ foo
.apply(null, a
);
11 return bar
.apply(null, arguments
);
16 for (var i
= 0; i
< 10000; ++i
) {
17 var result
= baz(1, 2);
18 if (result
!= 1 + 1 + 3)
19 throw "Error: bad result: " + result
;
22 var result
= baz(1.5, 2);
23 if (result
!= 1.5 + 1 + 3.5)
24 throw "Error: bad result at end: " + result
;