src/sap.ui.core/src/sap/ui/core/LocaleData.js
function(sWidth, sCalendarType) {
			assert(sWidth == "wide" || sWidth == "abbreviated" || sWidth == "narrow" , "sWidth must be wide, abbreviate or narrow");

			//TODO Adapt generation so that eras are an array instead of object
			var oEras = this._get(getCLDRCalendarName(sCalendarType), "era-" + sWidth),
				aEras = [];
			for (var i in oEras) {
				aEras[parseInt(i)] = oEras[i];
			}
			return aEras;
		}
function(sWidth, sCalendarType) {
			assert(sWidth == "wide" || sWidth == "abbreviated" || sWidth == "narrow" , "sWidth must be wide, abbreviate or narrow");

			//TODO Adapt generation so that eras are an array instead of object
			var oEras = this._get(getCLDRCalendarName(sCalendarType), "era-" + sWidth),
				aEras = [];
			for (var i in oEras) {
				aEras[parseInt(i)] = oEras[i];
			}
			return aEras;
		}
function ( sWidth , sCalendarType ) { assert ( sWidth == "wide" || sWidth == "abbreviated" || sWidth == "narrow" , "sWidth must be wide, abbreviate or narrow" ) ; //TODO Adapt generation so that eras are an array instead of object var oEras = this . _get ( getCLDRCalendarName ( sCalendarType ) , "era-" + sWidth ) , aEras = [ ] ; for ( var i in oEras ) { aEras [ parseInt ( i ) ] = oEras [ i ] ; } return aEras ; }
Returns array of eras.

@param {string} sWidth the style of the era name. It can be 'wide', 'abbreviated' or 'narrow'
@param {sap.ui.core.CalendarType} [sCalendarType] the type of calendar
@return {array} the array of eras
@public
@since 1.32.0
Returns array of eras .