Start · Sprachen · JavaScript · Referenz · Intl.RelativeTimeFormat.prototype.format()

Intl.RelativeTimeFormat.prototype.format()

Methode

Die format()-Methode von Intl.RelativeTimeFormat-Instanzen formatiert einen value und eine unit entsprechend der Sprach- und Formatierungsoptionen dieses Intl.RelativeTimeFormat-Objekts.

Kategorie: method-property

Beschreibung

Die format()-Methode von Intl.RelativeTimeFormat-Instanzen formatiert einen value und eine unit entsprechend der Sprach- und Formatierungsoptionen dieses Intl.RelativeTimeFormat-Objekts.

Zugehörig zu: Intl

Diese Seite ist aktuell eine Kurz-Referenz. Signatur, Parameter, Rückgabewerte, Fallstricke und Code-Beispiele folgen in einem späteren Ausbau.