Javascript best practice: handling Firebug-specific code

前端 未结 9 776
春和景丽
春和景丽 2021-02-03 10:31

Firebug is certainly a wonderful tool for javascript debugging; I use console.log() extensively.

I wanted to know if I can leave the Firebug-specific code in production.

9条回答
  •  悲哀的现实
    2021-02-03 10:51

    Just a reminder that IE Dev Tool does not support apply() on console.log.

    Calling console.log.apply() will raise exception in IE8 when dev tool is active.

提交回复
热议问题