prototype  RangeError  class property JS Home  <<  JS Reference  <<  RangeError  <<  prototype

Description

Enables property assignment to objects of type RangeError.

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

Syntax

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

Parameters

None.

Examples

The code below displays the RangeError prototype, which is inherited from the Error object.


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

Press the button below to action the above code:

Related Tutorials

JavaScript Advanced Tutorials - Lesson 2 - Errors