技术教程 js parseint 的三个坑,进制参数别省略 js parseint 会截断单位、丢大数精度,进制参数建议永远传 10,附 NaN 判断和 Number 的对比。 技技术小编 2026-10-31 1 阅读 0 评论 js parseint parseInt 进制 类型转换