Regexp Literals null Returns the null value. Returns a decimal floating point number. Returns a hexidecimal number. Returns a regular expression literal.
Literals null Returns the null value.
However, a variable which has never been assigned will have the value undefined . When converted to a number, null returns 0 . When a script tries to get a property of null , e.g. null.foo , Resin will throw an exception. Unassigned variables contain the undefined value and unassigned properties also contain the undefined value. When converted to a number, undefined returns 0 .