---
title: "Discussion on \"How to Check for Null in Javascript\" | Hashnode"
description: "Discussion on \"How to Check for Null in Javascript\". Sometimes you've gotta check to make sure that nothing isn't actually...nothing. 😲❗❓\nIn JavaScript, null is a primitive type intentionally containing the value of null. Undefined is a primitive type and represents a variable you declare without init..."
url: "https://hashnode.com/posts/how-to-check-for-null-in-javascript/62e80e47430bd1d04a847c35"
---

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

Discussion

# [How to Check for Null in Javascript](https://blog.eamonncottrell.com/how-to-check-for-null-in-javascript?utm_source=hashnode&utm_medium=feed)

Sometimes you've gotta check to make sure that nothing isn't actually...nothing. 😲❗❓ In JavaScript, null is a primitive type intentionally containing the value of null. Undefined is a primitive type and represents a variable you declare without init...

Aug 1, 2022 · 3 min read · blog.eamonncottrell.com  
Read the article

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

## Written by

[Eamonn Cottrell](https://hashnode.com/@sieis)

@sieis · Knoxville, TN

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

YouTube Tech Tutorials

I'm an AI automations and strategy educator on YouTube. I also review products. I love ultrarunning. I'm the father of 4 kiddos.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
