We assign null to a variable, array element, or object property to indicate that the specified data container does not contain a legal number, string, boolean, array, or object value.
Note that null only compares equal to itself and undefined:
null == undefined; // true null == null; // true
Copyright © 2002 O'Reilly & Associates. All rights reserved.