Array.isArray(arr) Array.prototype.isPrototypeOf(arr) arr.constructor==Array 转载于:https://www.cnblogs.com/AnnieShen/p/9253785.html