---
title: "Discussion on \"Mystery behind display of \"undefined\" in the Console\" | Hashnode"
description: "Discussion on \"Mystery behind display of \"undefined\" in the Console\". Have you also noticed \"undefined\" appearing on your Console when running certain methods or expressions and wondered why?\nWell, that's because the Console, which is a tool for debugging and inspecting the state of a web page is designed to display th..."
url: "https://hashnode.com/posts/mystery-behind-display-of-undefined-in-the-console/63eadb0e6a260bd455fe6efa"
---

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

Discussion

# [Mystery behind display of "undefined" in the Console](https://shushma.hashnode.dev/mystery-behind-display-of-undefined-in-the-console?utm_source=hashnode&utm_medium=feed)

Have you also noticed "undefined" appearing on your Console when running certain methods or expressions and wondered why? Well, that's because the Console, which is a tool for debugging and inspecting the state of a web page is designed to display th...

Feb 14, 2023 · 2 min read · shushma.hashnode.dev  
Read the article

-   [#undefined](https://hashnode.com/tag/undefined)
-   [#console](https://hashnode.com/tag/console)
-   [#return-statement-in-javascript](https://hashnode.com/tag/return-statement-in-javascript)

## Written by

[Shushma Muniraj](https://hashnode.com/@Shushma)

@Shushma

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

The web is my playing field

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
