function mice(){var a = "1"; var b = "2" var a1 = parseInt(a); var b1 = parseInt(b); var c1 = a + b; var c2 = a1+b1; alert(c1);//弹出 1 2 alert(c2);//弹出 3}ps:减法然也