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 Taking the Square Root of a Number

What is Difference Between Call and Apply Methods in Javascript ?

What are Advantages of Javascript ?

JavaScript Adding Elements to Array

What are Deferred Scripts in Javascript ?