This documentation is archived and is not being maintained.

null Literal

An object that represents "no object".

You can erase the contents of a variable (without deleting the variable) by assigning it the null value.

NoteNote

In JScript, null is not the same as 0 (as it is in C and C++). Also the typeof operator in JScript reports null values as being of type Object, not of type null. This potentially confusing behavior is maintained for backwards compatibility.

Show: