]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/max-boolean-exit.js
2 return Math
.max(a
.f
, b
.f
);
7 function test(a
, b
, c
) {
8 var result
= foo({f:a
}, {f:b
});
10 throw "Error: expected " + c
+ " but got: " + result
;
13 for (var i
= 0; i
< 100000; ++i
)
16 // Now try some unexpected things, in descending order of possible badness.
17 test(true, 2147483647, 2147483647);