为什么赋值一个之后不会输出了
<script language="javascript">
var mynum=new Array(65,90,88,98);
var mynum[12]=87;
document.write("数组的长度是:"+ mynum.length );
</script>
<script language="javascript">
var mynum=new Array(65,90,88,98);
var mynum[12]=87;
document.write("数组的长度是:"+ mynum.length );
</script>
2017-02-19
举报