1.通过调用constructor来识别
{}.constructor //返回object
[].constructor //返回Array
2.通过instance of 来识别
[] instance of Array //true
{} instance of Array //false
3.通过Object.prototype.toString.call方法来识别
Object.prototype.toString.call([]) //["object Array"]
Object.prototype.toString.call({}) //["object Object"]
4.通过ES6中的Array.isAaary来识别
Array.isArray([]) //true
Array.isArray({}) //false