---
title: "Discussion on \"Why do we always get UNDEFINED on calling console.log ()?Whyyyyy?\" | Hashnode"
description: "Discussion on \"Why do we always get UNDEFINED on calling console.log ()?Whyyyyy?\". By Arun Shukla"
url: "https://hashnode.com/posts/why-do-we-always-get-undefined-on-calling-consolelog-whyyyyy/63ea358614fe90101ca04298"
---

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

Discussion

# [Why do we always get UNDEFINED on calling console.log ()?Whyyyyy?](https://shuklathecoder.hashnode.dev/why-do-we-always-get-undefined-on-calling-consolelog-whyyyyy?utm_source=hashnode&utm_medium=feed)

By Arun Shukla

Feb 13, 2023 · 2 min read · shuklathecoder.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#consolelog](https://hashnode.com/tag/consolelog)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#js](https://hashnode.com/tag/js)

## Written by

[Arun Shukla](https://hashnode.com/@Anshu07)

@Anshu07 · India

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

Learner

FrontEnd Developer

## Responses 1

Markdown supported · ⌘↵ to post

[shubham tiwari](https://hashnode.com/@Techstick)

[Feb 14, 2023](https://hashnode.com/posts/why-do-we-always-get-undefined-on-calling-consolelog-whyyyyy/63ea358614fe90101ca04298/comment/63eb0f1b426c993d967ada54)

Finally a correct answer for undefined.👌

[Arun Shukla](https://hashnode.com/@Anshu07)

[Feb 14, 2023](https://hashnode.com/posts/why-do-we-always-get-undefined-on-calling-consolelog-whyyyyy/63ea358614fe90101ca04298/comment/63eb0f1b426c993d967ada54#reply-63eb2edad621673fc424c539)

Thank you, bro.
