Moving beyond console.log() β 8 console methods you should use when debugging JS and Node β¦
When talking about the Console API, newbies usually use only some functions like π
console.log()
, β οΈ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.
Guilty! β
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).
Discussion
Sign in or Join to comment or subscribe