Our volunteers haven't translated this article into हिन्दी (भारत) yet. Join us and help get the job done!
You can also read the article in English (US).

The Number.prototype property represents the prototype for the Number constructor.

Property attributes of Number.prototype
Writable no
Enumerable no
Configurable no


All Number instances inherit from Number.prototype. The prototype object of the Number constructor can be modified to affect all Number instances.


Returns the function that created this object's instance. By default this is the Number object.


Returns a string representing the number in exponential notation.
Returns a string representing the number in fixed-point notation.
Returns a string with a language sensitive representation of this number. Overrides the Object.prototype.toLocaleString() method.
Returns a string representing the number to a specified precision in fixed-point or exponential notation.
Returns an object literal representing the specified Number object; you can use this value to create a new object. Overrides the Object.prototype.toSource() method.
Returns a string representing the specified object in the specified radix (base). Overrides the Object.prototype.toString() method.
Returns the primitive value of the specified object. Overrides the Object.prototype.valueOf() method.


Specification Status Comment
ECMAScript 1st Edition (ECMA-262) Standard Initial definition. Implemented in JavaScript 1.1.
ECMAScript 5.1 (ECMA-262)
The definition of 'Number' in that specification.
ECMAScript 2015 (6th Edition, ECMA-262)
The definition of 'Number' in that specification.
ECMAScript Latest Draft (ECMA-262)
The definition of 'Number' in that specification.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung InternetNode.js
prototypeChrome Full support YesEdge Full support YesFirefox Full support 1IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yesnodejs Full support Yes


Full support  
Full support

See also

दस्तावेज़ टैग और योगदानकर्ता

इस पृष्ठ के लिए योगदानकर्ता: mdnwebdocs-bot, fscholz, jameshkramer, Markus Prokott, Mingun, Sheppy, Norbert, ethertank, trevorh, lmorchard, Sevenspade, Potappo, Brettz9, Mgjbot
अंतिम अद्यतन: mdnwebdocs-bot,