<html><body><h1>JavaScript 运算符</h1><h2>+ 运算符</h2><p>+ 运算符可以连接(相加)字符串。</p><p id="demo"></p><script>let text1 = "Bill";let text2 = "Gates";let text3 = text1 + " " + text2;document.getElementById("demo").innerHTML = text3;</script></body></html>