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