代码:

function isNormalInteger(str) {

    var n = Math.floor(Number(str));

    return n !== Infinity && String(n) === str && n >= 0;

}