求大神看看,运行不了
<!DOCTYPE HTML> <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>数组</title> <script type="text/javascript"> //创建数组 var myarr=new Array(); //显示数组长度 // var a=arr.length; var myarr=['*','##',"***","&&","****","##*"]; //将数组内容输出,完成达到的效果。 var myarr[7]="**"; document.write(myarr[0]+"<br/>"); document.write(myarr[2]+"<br/>"); document.write(myarr[4]+"<br/>"); </script> </head> <body> </body> </html>