]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/get-my-argument-by-val-for-inlined-escaped-arguments.js
5 function bar(a
, b
, c
, i
) {
6 var args
= foo(b
, c
, 42);
12 var expected
= [2, 3, 42];
13 for (var i
= 0; i
< 10000; ++i
) {
14 var result
= bar(1, 2, 3, i
% 3);
15 if (result
!= expected
[i
% 3])
16 throw "Error: bad result: " + result
;