src/sap.m/src/sap/m/HyphenationSupport.js
function diffTexts(mTextsMain, mTextsToDiff) {
			var aDiffs = [];
			Object.keys(mTextsMain).forEach(function(sKey) {
				if (!(sKey in mTextsToDiff && mTextsMain[sKey] === mTextsToDiff[sKey])) {
					aDiffs.push(sKey);
				}
			});
			return aDiffs;
		}
function diffTexts(mTextsMain, mTextsToDiff) {
			var aDiffs = [];
			Object.keys(mTextsMain).forEach(function(sKey) {
				if (!(sKey in mTextsToDiff && mTextsMain[sKey] === mTextsToDiff[sKey])) {
					aDiffs.push(sKey);
				}
			});
			return aDiffs;
		}
function diffTexts ( mTextsMain , mTextsToDiff ) { var aDiffs = [ ] ; Object . keys ( mTextsMain ) . forEach ( function ( sKey ) { if ( ! ( sKey in mTextsToDiff && mTextsMain [ sKey ] === mTextsToDiff [ sKey ] ) ) { aDiffs . push ( sKey ) ; } } ) ; return aDiffs ; }
Checks which keys are not present in mTextsToDiff or their values are different

@param {map} mTextsMain The map of texts to compare
@param {map} mTextsToDiff The map of texts to compare against
@returns {Array} An array containing all keys for which there is difference
@private
Checks which keys are not present in mTextsToDiff or their values are different