isObject(obj) {
if (!obj || Object.prototype.toString.call(obj) !== '[object Object]') {
return false
}
return true
},
js判断数据是否是对象
最新推荐文章于 2024-06-18 15:08:43 发布
isObject(obj) {
if (!obj || Object.prototype.toString.call(obj) !== '[object Object]') {
return false
}
return true
},