Console

Learn about the console module in Node.js.

Debugging made easy

In this lesson, we shall look at a few different functionalities that this module provides.

The console module that Node.js provides is similar to the JavaScript console that most browsers provide. In case you had not noticed, we were not importing the console module before using console.log. The reason we were not importing anything is that there is a global console instance that is configured to write to process.stdout and ...

Access this course and 1400+ top-rated courses and projects.