If operator next to current operand is XOR ( Assuming a valid input )
else { if ( s [ i + 2 ] == s [ i ] ) { s [ i + 2 ] = ' ' ; } else { s [ i + 2 ] = ' ' ; } } } } return ( s [ n - 1 ] . charCodeAt ( ) - ' ' . charCodeAt ( ) ) ; }