blob: 4158ac83000dfb8f0c701e4aac54a1488689341a [file] [log] [blame]
// This test shouldn't throw.
function testIsInteger(arg)
{
var x = Number.isInteger(arg);
return arg;
}
for (var i = 0; i < 100000; i++) {
var r = testIsInteger(13.37);
if (r === false)
throw "Wrong value returned from function calling Number.isInteger";
}