初识JavaScript
JavaScript了解
var a = 10 console.log(isNaN(a)) //false var str = 'abc' console.log(isNaN(Number(str)))//true
网站题目:初识JavaScript
文章来源:http://myzitong.com/article/dsojjgd.html
var a = 10 console.log(isNaN(a)) //false var str = 'abc' console.log(isNaN(Number(str)))//true