如题, 弱类型计算需要先进行转型, 例:
savNum=parseInt(savNum)+parseInt(num);
或者使用 number() 转型
来源: http://www.bubuko.com/infodetail-2567823.html