--- title: Intl.RelativeTimeFormat.prototype slug: conflicting/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat tags: - Internationalisation - Intl - JavaScript - Propriété - Prototype - Reference translation_of: Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat translation_of_original: Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/prototype original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/RelativeTimeFormat/prototype ---
La propriété Intl.RelativeTimeFormat.prototype représente l'objet prototype utilisé par le constructeur {{jsxref("RelativeTimeFormat", "Intl.RelativeTimeFormat")}}.
{{js_property_attributes(0, 0, 0)}}
Voir {{jsxref("RelativeTimeFormat")}} pour une description des instances Intl.RelativeTimeFormat.
Les instances {{jsxref("RelativeTimeFormat", "Intl.RelativeTimeFormat")}} héritent de Intl.RelativeTimeFormat.prototype. Les modifications apportées au prototype seront héritées par l'ensemble des instances {{jsxref("RelativeTimeFormat", "Intl.RelativeTimeFormat")}}.
Intl.RelativeTimeFormat.prototype.constructorIntl.RelativeTimeFormat.Intl.RelativeTimeFormat.format() mais qui renvoie un tableau ({{jsxref("Array")}}) contenant les différentes parties de la valeur formatée.| Spécification | État | Commentaires |
|---|---|---|
Proposition pour Intl.RelativeTime |
Proposition de niveau 3 |
{{Compat("javascript.builtins.Intl.RelativeTimeFormat.prototype")}}