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