This means that we cannot edit the current character as it 's frequency  in string X is equal to or less  than the frequency in string Y.  Thus, we go to the next position
if ( ctrx [ X [ i ] . charCodeAt ( 0 ) - " " . charCodeAt ( 0 ) ] === 0 ) { continue ; }