---
title: "Discussion on \"Why does Chrome/Brave console.log always append a line saying 'undefined'?\" | Hashnode"
description: "Discussion on \"Why does Chrome/Brave console.log always append a line saying 'undefined'?\". You must have seen this kind of behavior when you enter console.log() in a browser console window\nconsole.log(\"Hola!\")\n Hola!\nundefined\n\nWe got two values here:\n\nHola!\n\nundefined\n\n\nEven though we expected the first value, the second value came as a s..."
url: "https://hashnode.com/posts/why-does-chromebrave-consolelog-always-append-a-line-saying-undefined/63ebeb86b16f384803690328"
---

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

Discussion

# [Why does Chrome/Brave console.log always append a line saying 'undefined'?](https://nikhilchhabra.hashnode.dev/why-does-chromebrave-consolelog-always-append-a-line-saying-undefined?utm_source=hashnode&utm_medium=feed)

You must have seen this kind of behavior when you enter console.log() in a browser console window console.log("Hola!") Hola! undefined We got two values here: Hola! undefined Even though we expected the first value, the second value came as a s...

Feb 14, 2023 · 1 min read · nikhilchhabra.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Nikhil Chhabra](https://hashnode.com/@nikhilchhabra)

@nikhilchhabra · New Delhi, India

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

Me think, why waste time see lot tutorials when few blogs do trick

Aspiring web developer

## Responses 1

Markdown supported · ⌘↵ to post

[Bijaylaxmi Behera](https://hashnode.com/@bijaylaxmibehera)

[Feb 15, 2023](https://hashnode.com/posts/why-does-chromebrave-consolelog-always-append-a-line-saying-undefined/63ebeb86b16f384803690328/comment/63ecfd227cedde50200b80d6)

Great explanation 👏
