firebug 调试小技巧

firebug真的很好很强大,

以前一直使用alert()调试,忽然发现firebug有个console.log的东东

       

引用
Your new friend, console.log

The easiest way to write to the Firebug console looks like this: console.log("hello world")

You can pass as many arguments as you want and they will be joined together in a row, like console.log(2,4,6,8,"foo",bar).

你可能感兴趣的:(Firebug)