---
title: "Discussion on \"What is the difference between JavaScript null, undefined and undeclared?\" | Hashnode"
description: "Discussion on \"What is the difference between JavaScript null, undefined and undeclared?\". The post was originally published on ExplainThis with title 《What is the difference between JavaScript null, undefined and undeclared?》\n\nundefined means that the value has not yet been defined, so when a variable is declared but not assigned any valu..."
url: "https://hashnode.com/posts/what-is-the-difference-between-javascript-null-undefined-and-undeclared/63ce7dc1ebaff8947eabd62f"
---

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

Discussion

# [What is the difference between JavaScript null, undefined and undeclared?](https://explainthis.hashnode.dev/what-is-the-difference-between-javascript-null-undefined-and-undeclared?utm_source=hashnode&utm_medium=feed)

The post was originally published on ExplainThis with title 《What is the difference between JavaScript null, undefined and undeclared?》 undefined means that the value has not yet been defined, so when a variable is declared but not assigned any valu...

Jan 23, 2023 · 2 min read · explainthis.hashnode.dev  
Read the article

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

## Written by

[Alaster Wang](https://hashnode.com/@alaster)

@alaster · Singapore

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

A frontend engineer live in Singapore

A frontend engineering working in a big tech company. In my free time, I write frontend contents and build explainthis.io with my friends 🙂

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
