切换布局
显示结果
<html> <head> <title>JavaScript String concat() Method</title> </head> <body> <script type = "text/javascript"> var str1 = new String( "This is string one" ); var str2 = new String( "This is string two" ); var str3 = str1.concat( str2 ); document.write("Concatenated String :" + str3); </script> </body> </html>