在前面已经定义了var 1=arr.length,为什么用alert(var 1)不能弹出窗口?
var arr = ['*','##',"***","&&","****","##*"];
arr[7] = "**";
//数组长度
var l = arr.length;
alert(arr.length);
var arr = ['*','##',"***","&&","****","##*"];
arr[7] = "**";
//数组长度
var l = arr.length;
alert(arr.length);
2017-02-10
举报