---
title: "Discussion on \"Everything you are doing wrong with console.log\" | Hashnode"
description: "Discussion on \"Everything you are doing wrong with console.log\". and how to improve on it"
url: "https://hashnode.com/posts/everything-you-are-doing-wrong-with-consolelog/611bedb0888ca15f5d392a98"
---

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

Discussion

# [Everything you are doing wrong with console.log](https://jai-dewani.hashnode.dev/everything-you-are-doing-wrong-with-consolelog?utm_source=hashnode&utm_medium=feed)

and how to improve on it

Aug 17, 2021 · 3 min read · jai-dewani.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#console](https://hashnode.com/tag/console)
-   [#logging](https://hashnode.com/tag/logging)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Jai Dewani](https://hashnode.com/@jai-dewani)

@jai-dewani · Raipur, India

  
[View profile](https://hashnode.com/@jai-dewani)

Student, preparing for a Journey filled with Development

## Responses 3

Markdown supported · ⌘↵ to post

[Rajiv Nayan Choubey](https://hashnode.com/@rajivnayanc)

[Aug 18, 2021](https://hashnode.com/posts/everything-you-are-doing-wrong-with-consolelog/611bedb0888ca15f5d392a98/comment/611c9b5b8b9c0305464a022d)

Quite informative post. Didn't know about these many shades of console.

[Jai Dewani](https://hashnode.com/@jai-dewani)

[Aug 18, 2021](https://hashnode.com/posts/everything-you-are-doing-wrong-with-consolelog/611bedb0888ca15f5d392a98/comment/611c9b5b8b9c0305464a022d#reply-611cd067888ca15f5d3940c0)

I might not have covered everything, checkout console.time(), console.timeend(), console.memory()

Thinking of doing a part two of this article to write about these ones xD

[Devesh B](https://hashnode.com/@Deveshb15)

[Aug 18, 2021](https://hashnode.com/posts/everything-you-are-doing-wrong-with-consolelog/611bedb0888ca15f5d392a98/comment/611c5819888ca15f5d393514)

Amazing article Jai, didn't know about console.table will definitely use it next time, thank you!🔥

[Jai Dewani](https://hashnode.com/@jai-dewani)

[Aug 18, 2021](https://hashnode.com/posts/everything-you-are-doing-wrong-with-consolelog/611bedb0888ca15f5d392a98/comment/611c5819888ca15f5d393514#reply-611ccfac8b9c0305464a0994)

Thanks Devesh :)

Tip: Console.table() snapshots the current state of the object where as console.log() will log the object directly so the log updates if the state of the object updates in next steps

[Gazal Jain](https://hashnode.com/@GuzzleJane)

[Aug 17, 2021](https://hashnode.com/posts/everything-you-are-doing-wrong-with-consolelog/611bedb0888ca15f5d392a98/comment/611c0a178b9c03054649f831)

I have never come across so many uses of console. methods ! Informative post. Saving it for later uses. Thanks.
