blob: fcae0b408117ca25066c46e54c7066f1cc722120 [file] [log] [blame]
function test(value)
{
return Number(value);
}
var result = 0;
for (var i = 0; i < 1e4; ++i)
result = test(i);
var result = 0;
for (var i = 0; i < 1e4; ++i)
result = test(i.toString());
var result = 0;
for (var i = 0; i < 4e4; ++i)
result = test(i);
var result = 0;
for (var i = 0; i < 1e4; ++i)
result = test(i.toString());