Array possible with exactly 1 or no element
if ( sum == xorr ) { if ( sum == 0 ) document . write ( " " + " " ) ; else document . write ( " " + 1 ) ; document . write ( " " + sum ) ; return ; } var mid = ( sum - xorr ) / 2 ;