blob: ff03d87aa69817e18f3039ab4564425f70ec67aa [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo(a, b) {
var result = "";
for (var i = 0; i < 100000; ++i) {
result += a + b;
result += a + b;
result += a + b;
}
return result;
}
var result = foo("foo", "bar");
if (result.length != 1800000)
throw "Bad result: " + result.length;