RelativeTimeFormatintermediateconst opts = new Intl.RelativeTimeFormat('es').resolvedOptions();
// { locale: 'es', style: 'long', numeric: 'always' }resolvedOptions() returns the locale and style options in use.
Get resolved options from Intl.RelativeTimeFormat.