JavaScript & jQuery Tutorials

JS Home Right Arrow JS Reference Right Arrow Number Right Arrow prototype

prototype  Number  class property

Description

Enables property assignment to objects of type Number.

  • Like all class properties prototype should be used on the class rather than an instance of the class.

Syntax


Signature Description
Number.prototypeEnables property assignment to objects of type Number.

Parameters

None.

Examples

The code below displays Number prototype.


alert('Number prototype is ' + Number.prototype);

Press the button below to action the above code:

Related Tutorials

JavaScript Advanced Tutorials - Lesson 3 - Number



  

go to home page Homepage go to top of page Top