blob: 7dcf7fe217bb78fe7f39a8f5e49288e0bacb96b2 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function test(value)
{
return Number(value);
}
var result = 0;
for (var i = 0; i < 1e4; ++i)
result = test(i.toString());
if (result !== 9999)
throw new Error(`bad result ${result}`);