]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/sink-object-past-invalid-check-sneaky.js
7b38cef9a415825a2df5f38acf497d6746968f2d
3 var o
= {valueOf: function() { result
= 1; }};
4 var q
= {f: p
? o : 42};
11 for (var i
= 0; i
< 10000; ++i
) {
12 var result
= foo(false);
14 throw "Error: bad result: " + result
;
17 var result
= foo(true);
19 throw "Error: bad result at end: " + result
;