输出是让字符串连起来不用+号,用逗号隔开也可以执行,两者有什么区别吗?如下代码
var mystr="我是";
var mychar="JavaScript";
document.write(mychar+"<br />");
document.write(mystr,mychar,"的忠实粉丝");
-------------------------------------------------------------------------------------------------
document.write(mystr,mychar,"的忠实粉丝");与 document.write(mystr+mychar+"的忠实粉丝"); 有什么不一样???