---
title: "Discussion on \"UNDEFINED  Vs  NOT DEFINED  in JS\" | Hashnode"
description: "Discussion on \"UNDEFINED  Vs  NOT DEFINED  in JS\". In JavaScript, understanding difference between undefined and not defined can be crucial.\nJavaScript code execution happens in two phases : MEMORY CREATION PHASE and CODE EXECUTION PHASE.\nIn memory creation phase , the JS skims through whole program ..."
url: "https://hashnode.com/posts/undefined-vs-not-defined-in-js/65e734eb98d0d879d411fd5d"
---

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

Discussion

# [UNDEFINED Vs NOT DEFINED in JS](https://vijayashree.hashnode.dev/undefined-vs-not-defined-in-js?utm_source=hashnode&utm_medium=feed)

In JavaScript, understanding difference between undefined and not defined can be crucial. JavaScript code execution happens in two phases : MEMORY CREATION PHASE and CODE EXECUTION PHASE. In memory creation phase , the JS skims through whole program ...

Mar 5, 2024 · 2 min read · vijayashree.hashnode.dev  
Updated Mar 14, 2024  
Read the article

-   [#undefined-vs-not-defined](https://hashnode.com/tag/undefined-vs-not-defined)

## Written by

[Vijaya Shree](https://hashnode.com/@vijayashree)

@vijayashree

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

Frontend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
