这段代码有毛病么?
<script type="text/javascript"> var mr=new Array(); for (var i=1 ; i<12 ; i++) { mr[i]=new Array (); for (var j=1; j<1; j++) { mr [i][j] = i + j; document.write("mr ["+i+"] ["+j+"]的值:" + mr[i][j] + "<br/>" } } </script>
<script type="text/javascript"> var mr=new Array(); for (var i=1 ; i<12 ; i++) { mr[i]=new Array (); for (var j=1; j<1; j++) { mr [i][j] = i + j; document.write("mr ["+i+"] ["+j+"]的值:" + mr[i][j] + "<br/>" } } </script>
2017-04-21
举报