alert (isNaN("asdas"));//返回true
alert (isNaN(""));//返回false
alert (isNaN());//返回true
alert (isNaN(2));//返回false
alert (isNaN("2"));//返回false
js isNaN()函数
最新推荐文章于 2021-09-01 19:01:56 发布
alert (isNaN("asdas"));//返回true
alert (isNaN(""));//返回false
alert (isNaN());//返回true
alert (isNaN(2));//返回false
alert (isNaN("2"));//返回false