Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js xor

const XOR = (bool1, bool2) =>
    (bool1 && !bool2) || (!bool1 && bool2)
 
PREVIOUS NEXT
Tagged: #js #xor
ADD COMMENT
Topic
Name
6+8 =