javascript字符串拼接 <script type="javascript"> var a = "你好,"; var b = "洛阳。"; document.write(a + b); </script> 结果是:你好,洛阳。