blob: 8a2703526b9bf1e20705de6417d8ac7ee27bd707 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo() {
var array = [];
for (var i = 0; i < 25000; i++)
array.push(i);
var result = 0;
for (var i of array)
result += i;
return result;
}
var result = foo() + foo();
if (result != 624975000)
throw "Bad result: " + result;