blob: fadd8e4d9fff6460cbcd5923f5c4e55a711a7657 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function test(str, count)
{
var repeated = str.repeat(count);
// Expand the rope.
return repeated[0] + repeated[count >> 1] + repeated[repeated.length - 1];
}
for (var i = 0; i < 1e4; ++i)
test(i.toString(), 100);