JavaScript用Number方法实现string转int
parseInt方法在format'00'开头的数字时会当作2进制转10进制,所以建议string转int最好用Number方法
下载地址
用户评论