Intl.DateTimeFormat.prototype.resolvedOptions() - JavaScript | MDN

The resolvedOptions() method of Intl.DateTimeFormat instances returns a new object with properties reflecting the options computed during initialization of this DateTimeFormat object.