JavaScript Programmer’s Reference Name: (Java web server) null The null value
Saturday, February 16th, 2008JavaScript Programmer’s Reference Name: null The null value is sometimes used in place of other values. For example, in some browser-based interpreters, there is no specific value for the undefined condition. However, you can work around this by testing for null. Strictly speaking they are distinctly different values with different semantic meanings. Even so, the trick works well enough for most practical purposes. Use nullin place of undefinedwhen testing for the existence of entities. See also: Literal, Range error, Token, undefined Cross-references: ECMA 262 edition 2 section 7.7.1 ECMA 262 edition 3 section 7.8.1 Null statement (Definition) An empty statement consisting of a semicolon on its own. See also: Empty statement (;), Semicolon (;) Number (Primitive value) A built-in primitive value. Availability: Property/method value type: ECMAScript edition 2 Number primitive A number value is a member of the type Number and is a direct representation of a number. It is basically a floating-point number and there is no special integer number class. Integers are simply floating-point values with a zero fractional part. Numbers can be expressed as integers or floating-point values. They can be expressed in decimal, octal, or hexadecimal notation. They can also be expressed in exponential form. Typical limits for the number type allow for very large number values. You can find out what the maximum value is by requesting the MAX_VALUE property from the built-in Number object. It will probably give you a value in the region of 1 followed by some 300 or more zeros. The smallest value is some 300 decimal places past the decimal point. Actually the limits are 1.79e308 down to 5e-324 and both can be positive or negative. 1548