When talking about the Console API, newbies usually use only some functions like 👌
console.warn(), or ❌
console.error()to debug their application, while often there are many other methods which can perfectly implement our requirements and improve debugging efficiency.
This article is made to expose some of the most interesting console methods with related examples that I use while teaching at Codeworks. So let’s see a list of the 8 best functions from the Console module!
I have used
console.table a few times (totally rad), but there’s plenty of functions here that I haven’t been using (and definitely should be).