how to make xor with and and or code example
Example 1: example use xor in
const findOdd = (xs) => xs.reduce((a, b) => a ^ b);
// this is arrow function
Example 2: XOR from only OR and AND
A B OR AND NAND [(A OR B) AND (A NAND B)]
T T T T F F
T F T F T T
F T T F T T
F F F F T F