The null Value

The topics are:

The Script null Value

The null value is a special value used in some places to specify an absence of information. For example, an Arrays element which hasn't been set yet has a default null value. The null value is not to be confused with the The undefined Value value, which also specifies an absence of information in some contexts.

The null value can be referenced in programs with the keyword null:

  null-> the null value

When Automatic Conversion to a Number , null yields 0.

Methods of null

The only method of null is:

Script Null Method

Syntax

Effect

null.toString( )

Returns the string "null".