这意味着您正在警告对象的实例。在
alerting对象时,在对象
toString()上调用,默认实现返回
[object Object]。
var objA = {};var objB = new Object;var objC = {};objC.toString = function () { return "objC" };alert(objA); // [object Object]alert(objB); // [object Object]alert(objC); // objC如果要检查对象,则应
console.log对其进行检查
JSON.stringify()或对其属性进行枚举,然后使用单独检查它们
for in。


![[object Object]是什么意思?(JavaScript) [object Object]是什么意思?(JavaScript)](http://www.mshxw.com/aiimages/31/402604.png)
