name
URIError
instance property
JS Home <<
JS Reference <<
URIError <<
name
Description
Contains a name for an error.
Syntax
Signature | Description |
---|---|
aURIError.name | Returns a reference to the function that created the prototype. |
Parameters
None.
Examples
The code below displays the name
property of the URIError
object.
var anError = new URIError();
anError.name = 'uriErrorName';
alert('URIError Name is: ' + anError.name);
Related Tutorials
JavaScript Advanced Tutorials - Lesson 2 - Errors