What is console.log in JavaScript?

Question:

What is console.log in JavaScript?

Answer:

The console.log() method prints debug information to the console, i.e. hiding it from users.

There are a number of other similar features:
console.info(), console.warn() and console.error().

All of them differ only visually in the console.

Read about all the advantages http://habrahabr.ru/post/114483/

Scroll to Top