blob: b51691f2be136ea51f1ed1e60b770eb9827d4f5f [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
var o = {f:{f:{f:{f:{f:{f:{f:42}}}}}}};
(function() {
var n = 1000000;
var result = 0;
for (var i = 0; i < n; ++i)
result += o.f.f.f.f.f.f.f;
if (result != n * 42)
throw "Error: bad result: " + result;
})();