parseInt('5aab4') //5 // I expect the output is NaN.
由于parseInt,我的逻辑失败了。我假设当输入包含字母时parseInt总是返回NaN?
慕斯王
杨魅力
相关分类