# null

*noun*

say it: **“NUL”** **/nʌl/**

A JavaScript value meaning "deliberately nothing", set on purpose.

## What is **null** in JavaScript?

**null** — A primitive value deliberately used to represent no object or value.

```javascript
const selectedOrder = null;
```

## In a sentence

- “getElementById returned **null** because no element had that id.”

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=1)

Updated: November 9, 2026

## In other subjects

- [null in MongoDB](https://www.ask-codey.com/glossary/null-mongodb)
- [Null in Software Development](https://www.ask-codey.com/glossary/null-software-development)
- [NULL in SQL](https://www.ask-codey.com/glossary/null-database)

Source: https://www.ask-codey.com/glossary/null
