Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 418267 of null

  • Revision slug: Web/JavaScript/Reference/Global_Objects/null
  • Revision title: null
  • Revision id: 418267
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment JavaScript/Reference/Global_Objects/null Web/JavaScript/Reference/Global_Objects/null

Revision Content

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.

Revision Source

<p>The value <code>null</code>, the only value of the Null Type.</p>
<table class="standard-table">
  <thead>
    <tr>
      <th class="header" colspan="2">Core Global Property</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Implemented in</td>
      <td>?</td>
    </tr>
    <tr>
      <td>ECMAScript Edition</td>
      <td>ECMAScript 1st Edition</td>
    </tr>
  </tbody>
</table>
<h2 id="Syntax" name="Syntax">Syntax</h2>
<pre class="syntaxbox">
<code>null </code></pre>
<h2 id="Description" name="Description">Description</h2>
<p><code>null</code> is a literal (not a property of the global object like <a href="/en-US/docs/JavaScript/Reference/Global_Objects/undefined" title="/en-US/docs/JavaScript/Reference/Global_Objects/undefined"><code>undefined</code></a> can be).</p>
<p>In APIs, <code>null</code> is often retrieved in place where an object can be expected but no object is relevant.</p>
Revert to this revision