Java Reference
In-Depth Information
Properties
property
introduced
description
JavaScript 1.1
Used to reference the constructor function for the
object.
constructor
JavaScript 1.1
Returns the largest number that can be
represented in JavaScript (approximately
1.79E+308).
MAX_VALUE
JavaScript 1.1
Returns the smallest number that can be
represented in JavaScript (5E-324).
MIN_VALUE
JavaScript 1.1
Returns a value that is “not a number.”
NaN
JavaScript 1.1
Returns a value representing negative infinity.
NEGATIVE_INFINITY
JavaScript 1.1
Returns a value representing (positive) infinity.
POSITIVE_INFINITY
JavaScript 1.1
Returns the prototype for the object, which can be
used to extend the object's interface.
prototype
Methods
Method
introduced
description
JavaScript 1.5
Returns a string containing the
exponent notation of a number. The
parameter should be between 0 and
20 and determines the number of
digits after the decimal.
toExponential(fractionDigits)
JavaScript 1.5
The format number for digits
number of digits. The number is
rounded up, and 0 s are added after
the decimal point to achieve the
desired decimal length.
toFixed([digits])
JavaScript 1.5
Returns a string representing the
Number object to the specified
precision.
toPrecision([precision])
JavaScript 1.1
Converts the Number object into a
string.
toString()
JavaScript 1.1
Returns the primitive value of the
Number object.
valueOf()
Search WWH ::




Custom Search