我有一个我需要在IE8中检查的对象.我尝试了开发人员工具和console.log他们的Firebug等价物.但是,当我将对象输出到日志时:
console.log("Element: ", element);
console.log(element);
Run Code Online (Sandbox Code Playgroud)
我只收到字符串
LOG: Element: [object Object]
Run Code Online (Sandbox Code Playgroud)
而不是可点击的,可检查的转储.
是否可以将对象转储到日志并检查其成员,如在Firebug中?
我不能使用自制的dump()函数,因为我要检查的元素太大,浏览器会崩溃我.
javascript console firebug internet-explorer-8 ie-developer-tools