数组是引用类型,不能用typeof,typeof 【】//object
let arr = []
arr instanceof Array //true
console.log(arr.constructor == Array) //true
console.log(Array.isArray(arr)) //true
console.log(Object.getPrototypeOf(arr) == Array.prototype) //true
console.log(Array.prototype.isPrototypeof(arr)) //true
console.log(Object.prototype.toString.call(arr) == '[object Array]') //true