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