初识JavaScript
JavaScript了解
var a = 10 console.log(isNaN(a)) //false var str = 'abc' console.log(isNaN(Number(str)))//true
网页标题:初识JavaScript
当前链接:http://scyanting.com/article/dsojjgd.html
var a = 10 console.log(isNaN(a)) //false var str = 'abc' console.log(isNaN(Number(str)))//true