How can I print a message to the error console in js

0 votes
asked Jan 4, 2013 in java script by codeg (2,600 points)

in c or c++

we use like print('x=%d', x); in javascript

1 Answer

0 votes
answered Jan 4, 2013 by Chanakya (545 points)

Install Firebug and then you can use console.log(...) and console.debug(...), etc.