var arr = ["html","css","javascript"] //length属性获取数组的长度console.log(arr.length); //数组的下标0开始的console.log(arr[0]);//arr.length-1console.log(arr[arr.length-1]); //typeof arr 输出为 object判断不了数组类型//Array.isArray(arr) true 判断是否为数组类型