blob: f58bf43fe5af0ff1d30138ba77e3738047435c95 [file] [log] [blame]
keith_miller@apple.com84bca962021-08-07 21:38:59 +00001function test(object) {
2 sum = 0;
3 for (var i in object)
4 sum += object[i];
5 return sum;
6}
7noInline(test);
8
9for (let i = 0; i < 1e5; ++i) {
10 var o = Array(100).fill(1.123214231);
11 o.a = 0;
12 o.b = "surprise string";
13 test(o);
14}