Error objects are created either by the environment (the browser) or by your code.
> var e = new Error('jaavcsritp is _not_ how you spell it'),
> typeof e;
"object"
Other than the Error
constructor, six additional ones exist and they all inherit Error
:
EvalError
RangeError
ReferenceError
SyntaxError
TypeError
URIError
18.188.152.162