---
title: "Discussion on \"Undefined v/s Not Defined : JavaScript\" | Hashnode"
description: "Discussion on \"Undefined v/s Not Defined : JavaScript\". undefined is a very special keyword in JavaScript and is not present in other languages.\nJavaScript code is executed in a different way. It creates a global execution context and allocates memory to all variables and functions even before a single li..."
url: "https://hashnode.com/posts/undefined-vs-not-defined/632e02d43a049a0d9db745ce"
---

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

Discussion

# [Undefined v/s Not Defined : JavaScript](https://siddharthasahu.hashnode.dev/undefined-vs-not-defined?utm_source=hashnode&utm_medium=feed)

undefined is a very special keyword in JavaScript and is not present in other languages. JavaScript code is executed in a different way. It creates a global execution context and allocates memory to all variables and functions even before a single li...

Sep 23, 2022 · 2 min read · siddharthasahu.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#undefined](https://hashnode.com/tag/undefined)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#interview](https://hashnode.com/tag/interview)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Siddhartha Sahu](https://hashnode.com/@CallMeSahu)

@CallMeSahu

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

Learning Full Stack Web Development at NeoG Camp.

## Responses 1

Markdown supported · ⌘↵ to post

[Vidhu Gupta](https://hashnode.com/@vidhuguptaa)

[Sep 23, 2022](https://hashnode.com/posts/undefined-vs-not-defined/632e02d43a049a0d9db745ce/comment/632e09a63a049a0d9db746a1)

Very well written. I am a beginner and this helped me understand quite a bit. Thank you, keep posting!

[Siddhartha Sahu](https://hashnode.com/@CallMeSahu)

[Sep 23, 2022](https://hashnode.com/posts/undefined-vs-not-defined/632e02d43a049a0d9db745ce/comment/632e09a63a049a0d9db746a1#reply-632e09fd3ac18d0d78a00b95)

I am glad it helped you.
