Console.log in IE on an object just outputted [object Object]

徘徊边缘 提交于 2019-12-02 21:41:08
Gonçalo Queirós

Maybe you can try what Xavi suggested here: How do I dump JavaScript vars in IE8?

Andy

You might want to try:

console.log(JSON.stringify(foobarObject));

Use:

console.dir(obj); 

This will will give you all properties of the object also in IE.

Add the object to watch and you can see and analyze it completely from watch panel.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!