Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.