Numberis a set of values representing numbers. In ECMAScript, the set of values represents the double-precision 64-bit format IEEE 754 values including the special “Not-a-Number” (NaN) values, positive infinity, and negative infinity.
Numberobject is a member of the type
Objectand is an instance of the built-in
Numberobject. That is, a
Numberobject is created by using the
Numberconstructor in a
newexpression, supplying a number as an argument. The resulting object has an implicit (unnamed) property that is the number. A
Numberobject can be coerced to a number value by calling the
Numberconstructor as a function (15.7.1).