Console is a browser built-in tool that logs errors that happens on the website. If there are any errors – such as broken links, incomplete JavaScript functions, or unknown CSS properties – the browsers will show error messages within the Console.
On top of that, we can also interact with the Console through the shell and the Console API, which comes in useful when testing certain functions and data output. Here, we will show you one handy tip for Console API use.
Recommended Reading: HTML Table Building – 30+ Beautiful Examples And Useful Javascripts
Accessing the Browser Console
In Chrome, we can select View > Developer > JavaScript Console menu to bring up the Console.