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