How do I dump JavaScript vars in IE8?

后端 未结 11 662
既然无缘
既然无缘 2020-12-02 08:04

I have an object I need to examine in IE8. I tried the developer tools and console.log, their Firebug equivalent. However, when I output the object to the log:<

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 09:03

    @Chris commented @Andy's answer with the simple solution: Use console.dir(myObj) to get all the details printed out in the console in IE. Thanks Chris!

提交回复
热议问题