Answers for "how to represent xor with and and or and not"

1

example use xor in

const findOdd = (xs) => xs.reduce((a, b) => a ^ b);
// this is arrow function
Posted by: Guest on December-17-2020
0

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
Posted by: Guest on April-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language