var a = "1"
var b = "1"
var c = a+b; //输出 11
var d = parseInt(a)+parseInt(b); //结果 2