making an xor using ors and ands 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