var arr = []; Object.prototype.toString.arr([]) == '[object Array]'; 转载于:https://www.cnblogs.com/heqhbk/p/4730184.html