--- title: InternalError.prototype slug: conflicting/Web/JavaScript/Reference/Global_Objects/InternalError tags: - Error - InternalError - JavaScript - Propriété - Reference translation_of: Web/JavaScript/Reference/Global_Objects/InternalError translation_of_original: Web/JavaScript/Reference/Global_Objects/InternalError/prototype original_slug: Web/JavaScript/Reference/Objets_globaux/InternalError/prototype ---
La propriété InternalError.prototype
représente le prototype du constructeur {{jsxref("InternalError")}}.
Toutes les instances de {{jsxref("InternalError")}} héritent de {{jsxref("InternalError.prototype")}}. Ce prototype peut être utilisé pour ajouter des propriétés et/ou des méthodes à toutes les instances.
InternalError.prototype.constructor
InternalError
devrait fournir une propriété propre pour message
. L'implémentation de SpiderMonkey fait que cette propriété est héritée via {{jsxref("Error.prototype.message")}}.Bien que l'objet prototype InternalError
ne contienne aucune méthode qui lui soit propre, les instances de {{jsxref("InternalError")}} héritent de méthodes grâce à la chaîne de prototypes.
Cette propriété ne fait partie d'aucune spécification.
{{Compat("javascript.builtins.InternalError")}}