Standardizing out-of-memory and stack-depth-exceeded errors?

Mike Shaver mike.shaver at
Wed Mar 23 18:25:36 PDT 2011

On Wed, Mar 23, 2011 at 6:21 PM, Garrett Smith <dhtmlkitchen at> wrote:
> javascript: alert(new InternalError("Got on tha inside, bitch!"));
> Hrm. seems odd to expose the constructor publicly.

Necessary to permit instanceof testing, no?

> The infinite recursion could be detected and reported early. Where
> does that happen? Does any engine report early for infinite recursion?

No engine in all of computer science does so.


More information about the es-discuss mailing list