JavaScript学习(六)

这里要注意:

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

2.NaN和NaN是不等的

3.NaN也是number。

原文地址:https://www.cnblogs.com/XJJD/p/9324168.html