xor in program code example Example: example use xor in const findOdd = (xs) => xs.reduce((a, b) => a ^ b); // this is arrow function