为什么 parseInt('12', 2) 输出结果是 1 ?
思路二进制数12不存在, 结果不应该是NaN吗 ?
console.log(parseInt("12", 2)); // 1
弑天下
相关分类