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