src/sap.ui.core/src/jquery.sap.history.js
function getNextSuffix(sHash){
			var sPath = sHash ? sHash : "";

			if (isVirtualHash(sPath)) {
				var iIndex = sPath.lastIndexOf(skipSuffix);
				sPath = sPath.slice(0, iIndex);
			}

			return sPath + skipSuffix + skipIndex++;
		}
function getNextSuffix(sHash){
			var sPath = sHash ? sHash : "";

			if (isVirtualHash(sPath)) {
				var iIndex = sPath.lastIndexOf(skipSuffix);
				sPath = sPath.slice(0, iIndex);
			}

			return sPath + skipSuffix + skipIndex++;
		}
function getNextSuffix ( sHash ) { var sPath = sHash ? sHash : "" ; if ( isVirtualHash ( sPath ) ) { var iIndex = sPath . lastIndexOf ( skipSuffix ) ; sPath = sPath . slice ( 0 , iIndex ) ; } return sPath + skipSuffix + skipIndex ++ ; }
This function returns a hash with suffix added to the end based on the sHash parameter. It handles as well when the current
hash is already with suffix. It returns a new suffix with a unique number in the end.

@private
This function returns a hash with suffix added to the end based on the sHash parameter . It handles as well when the current hash is already with suffix . It returns a new suffix with a unique number in the end .