//判断是不是数组function isArray(obj) { return Object.prototype.toString.call(obj) === '[object Array]'; } 数组