constructor
RangeError
instance propertyS2C Home
« Globals « RangeError « constructor
Description
Returns a reference to the function that created the prototype.
Syntax
Signature | Description |
---|---|
aRangeError.constructor | Returns a reference to the function that created the prototype. |
Examples
The code below displays RangeError
prototype function of RangeError
.
var anError = new RangeError();
alert('RangeError constructor is ' + anError.constructor);
Related Tutorials
JavaScript Advanced Tutorials - Lesson 2 - Errors