摘要: 方法一 Array.isArray(object) 方法二 Object.prototype.toString.call(object) == [object object] 此方法可以检测所有的数据类型 阅读全文