null

Did you know that you can read content offline by using one of these tools? If you would like to read offline MDN content in another format, let us know by commenting on Bug 665750.

Dash App

Table of Contents

  1. Syntax
  2. Description

The value null, the only value of the Null Type.

Core Global Property
Implemented in ?
ECMAScript Edition ECMAScript 1st Edition

Syntax

null 

Description

null is a literal (not a property of the global object like undefined can be).

In APIs, null is often retrieved in place where an object can be expected but no object is relevant.

Tags (1)