JavaScript学习(六)

 

这里要注意:

1.num为NaN(因为str的开头不是数字)

2.NaN和NaN是不等的

3.NaN也是number。

 

posted @ 2018-07-17 16:42  虚极静笃  Views(173)  Comments(0)    收藏  举报