---
title: "Comment by Daniel Schmitz on \"Use console.log() like a pro!\" | Hashnode"
description: "A nice tip is: instead console.log(&quot;name&quot;, name) you can use console.log({name})"
url: "https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7/comment/5fbc03d430fc2d1b859e23bf"
---

[Discussion](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7)

Comment [Use console.log() like a pro!](https://hashnode.com/posts/use-consolelog-like-a-pro/5fbb517c4609e7186f855ab7)

[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).
