Compare two integers without using any Comparison operator | function return true if A ^ B > 0 else false ; Driver program
function EqualNumber ( A , B ) { return ( A ^ B ) ; } let A = 5 , B = 6 ; if ( ! EqualNumber ( A , B ) == false ) document . write ( " " ) ; else document . write ( " " ) ;