判断数组的方法

72 阅读1分钟

1.instanceof 2.constructor 3.Object.prototype.toString.call() 4.Array.isArray