---
title: "Discussion on \"Use console.log() like a pro!\" | Hashnode"
description: "Discussion on \"Use console.log() like a pro!\". Using console.log() for JavaScript debugging is the most common practice among developers. But, there is more...\nThe console object provides access to the browser’s debugging console. The specifics of how it works varies from browser to browser, but ..."
url: "https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Use console.log() like a pro!](https://denic.hashnode.dev/use-consolelog-like-a-pro?utm_source=hashnode&utm_medium=feed)

Using console.log() for JavaScript debugging is the most common practice among developers. But, there is more... The console object provides access to the browser’s debugging console. The specifics of how it works varies from browser to browser, but ...

Nov 23, 2020 · 3 min read · denic.hashnode.dev  
Updated Dec 8, 2020  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Marko Denic](https://hashnode.com/@denic)

@denic

  
[View profile](https://hashnode.com/@denic)

Software Engineer.

Software Engineer.

## Responses 7

Markdown supported · ⌘↵ to post

[Amanda Field](https://hashnode.com/@amiikaa)

[Dec 3, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fc8f4adaa5def637a584568)

can you please remove that space in the console. info() at the beginning? It's making my eye twitch.

Also, cool stuff ;)

[Holt Robyn](https://hashnode.com/@HoltRobyn)

[Aug 9, 2022](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fc8f4adaa5def637a584568#reply-62f1de6e073c4467d60c79d5)

[stumble guys apk android](https://coimobile.com/stumble-guys/) is a new mobile game that has taken the world by storm. This multiplayer online game pits you against other players in a race to the finish line. The objective of the game is simple: be the last man standing. But with millions of other players all trying to do the same thing, it's anything but easy.

[Nicolas Oliveira](https://hashnode.com/@bruxo)

[Dec 1, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fc616b00a072175ef2d0659)

Great topic!

[Marko Denic](https://hashnode.com/@denic)

[Dec 1, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fc616b00a072175ef2d0659#reply-5fc6225143488b08d07326b3)

Thanks, [Nicolas](https://hashnode.com/@bruxojs)!

[Arindam Kotal](https://hashnode.com/@Coolcoder)

[Nov 24, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbd52f730fc2d1b859e3c37)

Nice article. console.table() I must try.

[Marko Denic](https://hashnode.com/@denic)

[Nov 24, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbd52f730fc2d1b859e3c37#reply-5fbd5c8130fc2d1b859e3cb9)

Thanks a lot.

[Bob Fornal](https://hashnode.com/@rfornal)

[Nov 24, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbd2334ec43af1ba6094cf0)

Good base article.

Like having the color settings included.

You might also want to mention somewhere in the article that `console` is a separate API from the JavaScript engine. I've seen in tests that `console` will still fire ... event when JavaScript is thread-locked.

[Marko Denic](https://hashnode.com/@denic)

[Nov 24, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbd2334ec43af1ba6094cf0#reply-5fbd5c7830fc2d1b859e3cb5)

Thank you Bob.

[Braydon Coyer](https://hashnode.com/@braydoncoyer)

[Nov 23, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbc326cec43af1ba6093a3b)

Glad you mentioned console.table(). That’s been my go-to for a while now!

[Marko Denic](https://hashnode.com/@denic)

[Nov 23, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbc326cec43af1ba6093a3b#reply-5fbc35d930fc2d1b859e2783)

My favorite too. Great method indeed.

[Daniel Schmitz](https://hashnode.com/@danielschmitz)

[Nov 23, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbc03d430fc2d1b859e23bf)

A nice tip is:

instead `console.log("name", name)` you can use `console.log({name})`

[Marko Denic](https://hashnode.com/@denic)

[Nov 23, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbc03d430fc2d1b859e23bf#reply-5fbc3560ec43af1ba6093a7d)

It is [Daniel Schmitz](https://hashnode.com/@danielschmitz). You can actually see it [here](https://denic.hashnode.dev/use-consolelog-like-a-pro#consoleassert).

[Dany Tulumidis](https://hashnode.com/@DanyTulumidis)

[Nov 23, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbba774faba48183e281123)

Thanks for this cool tricks! I often just use console.log but ill try to use these options as well. Especially console.table was very useful to me.

[Marko Denic](https://hashnode.com/@denic)

[Nov 23, 2020](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbba774faba48183e281123#reply-5fbc35b330fc2d1b859e2776)

Hey [Dany Tulumidis](https://hashnode.com/@DanyTulumidis). I'm glad you liked the article. The `console.table()` is my personal favorite too.
