JavaScript levelup.gitconnected.com

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

Player art
  0:00 / 0:00