你只要将他转换成团坦string类羡或巧型就行了var z = y.tostring()+x.tostring();或兄键者var z = y+‘’+x;
将其变轮启陆成字符串 var y = 2 var x = 4 var z = ''+y+'旁并'+''+x+'腊顷';
var z 禅雀= 贺雀早"" + 岁塌y + x;