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