blob: 6e0934cebff428044f316e5277c3605547cc6b90 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo(a) {
return "foo" + a + "bar";
}
var result;
for (var i = 0; i < 1000000; ++i)
result = foo("hello");
if (result != "foohellobar")
throw "Error: bad result: " + result;