我一直试图将6位数字组合成一个字符串,但我判断了组合Pin的长度,它是54,尽管我还没有输入任何东西
以下是我的代码片段
combinedPin = "" + this.pinCode1 + this.pinCode2 + this.pinCode3 + this.pinCode4 + this.pinCode5 + this.pinCode6;
combinedPinInt = parseInt(combinedPin);
console.log("pincode: " + combinedPinInt + " length: " + combinedPin.length + " typeof: " + typeof combinedPin);
这是怎么回事?54是从哪里来的?