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