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