原來firebug下的的console可以在js中調用

安裝firebug後就可以在自己的js裏使用console了(最新的firebug要首先啓用console)。

e.g.

console.log('hello world');

 

props(console)
Methods: assert, clear, count, debug, dir, dirxml, error, getFirebugElement, group, groupCollapsed, groupEnd, info, log, notifyFirebug, profile, profileEnd, time, timeEnd, trace, warn
Fields: firebug

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章