src/sap.ui.core/src/jquery.sap.history.js
function reorganizeHistoryArray(sHash){
			var iIndex = jQuery.inArray(currentHash, hashHistory);

			if ( !(iIndex === -1 || iIndex === hashHistory.length - 1) ) {
				hashHistory.splice(iIndex + 1, hashHistory.length - 1 - iIndex);
			}
			hashHistory.push(sHash);
		}
function reorganizeHistoryArray(sHash){
			var iIndex = jQuery.inArray(currentHash, hashHistory);

			if ( !(iIndex === -1 || iIndex === hashHistory.length - 1) ) {
				hashHistory.splice(iIndex + 1, hashHistory.length - 1 - iIndex);
			}
			hashHistory.push(sHash);
		}
function reorganizeHistoryArray ( sHash ) { var iIndex = jQuery . inArray ( currentHash , hashHistory ) ; if ( ! ( iIndex === - 1 || iIndex === hashHistory . length - 1 ) ) { hashHistory . splice ( iIndex + 1 , hashHistory . length - 1 - iIndex ) ; } hashHistory . push ( sHash ) ; }
This function manages the internal array of history records.

@private
This function manages the internal array of history records .