]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/plus-boolean-or-int.js
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
) {
18 // Now try some unexpected things, in descending order of possible badness.
19 test(true, 2147483647, 2147483648);