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