---
title: "Discussion on \"Undefined vs Not defined in JavaScript\" | Hashnode"
description: "Discussion on \"Undefined vs Not defined in JavaScript\". In this blog, we are going to learn about the difference between undefined and not defined in JavaScript, and how they are different from each other. We will also cover the topic of type conversion.  \nIn JavaScript, all variables are assigned the val..."
url: "https://hashnode.com/posts/undefined-vs-not-defined-in-javascript/63fb8c9f7f68e753855e0962"
---

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

Discussion

# [Undefined vs Not defined in JavaScript](https://dailylearn.hashnode.dev/undefined-vs-not-defined-in-javascript?utm_source=hashnode&utm_medium=feed)

In this blog, we are going to learn about the difference between undefined and not defined in JavaScript, and how they are different from each other. We will also cover the topic of type conversion. In JavaScript, all variables are assigned the val...

Feb 26, 2023 · 5 min read · dailylearn.hashnode.dev  
Updated Mar 7, 2023  
Read the article

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

## Written by

[haresh lakhwani](https://hashnode.com/@Haresh9958)

@Haresh9958 · Ahemdabad India

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

Sr Software Engineer at GlobalLogic.

Experienced developer with a background in native Android development and cross-platform development with React Native. Strong collaborator with a focus on attention to detail and staying up-to-date with the latest technologies. Currently expanding knowledge in data structures and system design. Capable of delivering high-quality applications utilizing React and React Native.

## Responses 2

Markdown supported · ⌘↵ to post

[Rahul sharma](https://hashnode.com/@rahul355)

[Apr 1, 2023](https://hashnode.com/posts/undefined-vs-not-defined-in-javascript/63fb8c9f7f68e753855e0962/comment/6427fcf2af5048c992b6f9f5)

Easy to understand keep it up

[Nisha patel](https://hashnode.com/@nisha624)

[Mar 7, 2023](https://hashnode.com/posts/undefined-vs-not-defined-in-javascript/63fb8c9f7f68e753855e0962/comment/6407a95b068648dcc7ab3eb0)

Nice explanation
