Get to know MDN better
Esta página foi traduzida do inglês pela comunidade. Saiba mais e junte-se à comunidade MDN Web Docs.
Não padrão: Este recurso não é padronizado. Não recomendamos o uso de recursos não padronizados em produção, pois eles têm suporte limitado nos navegadores e podem mudar ou ser removidos. No entanto, podem ser uma alternativa viável em casos específicos onde não exista uma opção padrão.
O objeto InternalError indica que um erro ocorreu internamente na engine do JavaScript.
Isso ocorre quando algo é muito grande, por exemplo:
Cria um um novo objeto InternalError.
Error message. Inherited from Error.
InternalError.prototype.nameError name. Inherited from Error.
InternalError.prototype.fileNamePath to file that raised this error. Inherited from Error.
InternalError.prototype.lineNumberLine number in file that raised this error. Inherited from Error.
InternalError.prototype.columnNumberColumn number in line that raised this error. Inherited from Error.
InternalError.prototype.stackStack trace. Inherited from Error.
This recursive function runs 10 times, as per the exit condition.
Setting this condition to an extremely high value, won't work:
For more information, see InternalError: too much recursion.
Not part of any standard.
Enable JavaScript to view this browser compatibility table.
This page was last modified on 8 de nov. de 2023 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.