Check if A can be converted to B by reducing with a Prime number | Function to find if it is possible to make A equal to B ; Driver Code ; Function Call
function isPossible ( A , B ) { return ( A - B > 1 ) ; } let A = 10 , B = 4 ; if ( isPossible ( A , B ) ) document . write ( " " ) ; else document . write ( " " ) ;