Different Use Cases of console.log — You should use when debugging JavaScript
Different Use Cases of console.log — You should use when debugging JavaScript
Better console.log — Tips & Tricks

Working in JavaScript? Then you’re very familiar with console.log(). Like all javascript programmers, I frequently throw a console.log into my code. And I really found it the simplest, faster, and a plain way to log something.

(() => {
// do stuff
let msg = 'Success!';
console.log(msg);
})();

Fatema T. Zuhora

Self-taught programmer, quick learner & Software Engineer with a can-do attitude.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store