切换布局
显示结果
<html> <head> <title>JavaScript String length Property</title> </head> <body> <script type = "text/javascript"> var str = new String( "This is string" ); document.write("str.length is:" + str.length); </script> </body> </html>