30 Days of Node.js – Day 4

Day 4 of the 30 Days of Node.js challenge was about the console object and its different methods. Until now, I was only using console.log(...) to display data in the console. Today, I’ve learned that by using console.log(...), console.info(...), console.warn(...) and console.error(...) I can control how the error message will appear within the browser’s console. The code snippets of today’s exercise can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2004%20-%20Console%20module.

References:

Leave a Reply