What is Console Object in Javascript ?

Console object provides access to browsers debugging console.

If browser supports debugging you can use console.log() method to display required text in debugging window.

Console object provides methods like debug(), log(), error(), info(), trace(), warn() which are useful for code debugging.



You May Interest

JavaScript How To Find The Average Of 10 Numbers Using A While Lo ...

What is this Keyword in Javascript ?

What is Strict Mode in JavaScript ?

How to Handle Exceptions in JavaScript ?

What is setInterval Function in Javascript ?