const arEG = new Intl.Locale("ar-EG");
console.log(arEG.getHourCycles()); // ["h12"]Intl.Locale.prototype.getHourCycles() / notebook
Intl.Locale.prototype.getHourCycles()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const jaJP = new Intl.Locale("ja-JP");
console.log(jaJP.getHourCycles()); // ["h23"]