Make use of the console.log() Like a Pro
For any developer, console.log() is one of the most well-known javascript functions since it allows us to quickly check for errors in our code in some circumstances. If you're unfamiliar with it, it's a tool that Javascript developers use to debug their code. Almost all popular browsers include a console, which comes in helpful for debugging Javascript. To access your browser's console, you use the console object of Javascript.