null Literal

An object that represents "no object".

Remarks

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

Note

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.

Requirements

Version 1

See Also

Reference

Object Object

Other Resources

JScript Data Types