javascript - Raise EvalError and InternalError -
When I search for the type of JavaScript errors, I think that there are 7 error types accordingly. I can generate all five core errors such as However, I could not find any way to generate other 2 error types from ES5: EvaluError 15.11.6.1 So I think this error can not be done in modern browsers. InternalError And true enough, running throws SyntaxError ,
ReferenceError ,
RangeError ,
URIError and
TypeError .
EvalError and
InternalError . How do I generate it? (Or) Is there an example of a javascript code that increases these errors?
The exception is not currently used within this specification InternalError , the page that you say to the link:
creates an example representing an error that then Occurs when an internal error is thrown in the javascript engine. e.g. "Too many recurring" .
function foo () {foo (); } Foo ();
internal error: too many recurring
Comments
Post a Comment