输出结果是:“数组的长度是49” 这是为什么?
<script language="javascript">
var mynum=new Array(65,90,88,98);
document.write("数组的长度是:"+mynum.length );
mynum[8]=85;
document.write(mynum.length)
</script>
<script language="javascript">
var mynum=new Array(65,90,88,98);
document.write("数组的长度是:"+mynum.length );
mynum[8]=85;
document.write(mynum.length)
</script>
2016-08-12
举报