1 var thingy = (function(){
11 return a + b + c + d + e + f + g;
25 for (var i = 0; i < 10000000; ++i) {
26 var result = thingy.foo();
27 if (result != 42 + 23 + 84 + 13 + 90 + 34 + 52)
28 throw "Error: bad result: " + result;
32 var result = thingy.foo();
33 if (result != 1 + 2 + 3 + 4 + 5 + 6 + 7)
34 throw "Error: bad result: " + result;