初识JavaScript
JavaScript了解
var a = 10 console.log(isNaN(a)) //false var str = 'abc' console.log(isNaN(Number(str)))//true
网站名称:初识JavaScript
文章网址:http://abwzjs.com/article/dsojjgd.html
var a = 10 console.log(isNaN(a)) //false var str = 'abc' console.log(isNaN(Number(str)))//true