// isFinite 是判断是否为数字 如果是数字 返回的是true
let a=11/4
document.write(Number.isFinite(a))
document.write(Number.isFinite('zhan'))
// isInteger 是判断是否为整数 如果是整数返回 true
let b=254.3
document.write(Number.isInteger(b)) // false
document.write(Number.parseInt(b)) // 254
document.write(Number.parseFloat(b)) // 254.3// 254.3
//最大安全整数
console.log(Number.MAX_SAFE_INTEGER);
//最小安全整数
console.log(Number.MIN_SAFE_INTEGER);
//安全整数判断isSafeInteger( )
let c= Math.pow(2,53)-1;
console.log(Number.isSafeInteger(a));//false