JavaScript & jQuery Tutorials

JS Home Right Arrow JS Reference Right Arrow URIError Right Arrow constructor

constructor  URIError  instance property

Description

Returns a reference to the function that created the prototype.

Syntax


Signature Description
aURIError.constructorReturns a reference to the function that created the prototype.

Parameters

None.

Examples

The code below displays the prototype function of URIError.


var anError = new URIError();
alert('URIError constructor is ' + anError.constructor);

Press the button below to action the above code:

Related Tutorials

JavaScript Advanced Tutorials - Lesson 2 - Errors



  

go to home page Homepage go to top of page Top