// 方法一,前提是同一个全局执行环境
arr instanceof Array
// 方法二
arr.constructor === Array
// 方法三
Array.prototype.isPrototypeOf(arr)
// 方法四
Object.getPrototypeOf(arr) === Array.prototype
// 方法五
Object.prototype.toString.call(arr) === '[object Array]'
// 方法六
Array.isArray(arr)