Why is there no logical xor in JavaScript?
Why is there no logical xor in JavaScript? 19 Answers 19
Why is there no logical xor in JavaScript? 19 Answers 19
Observations: Java has a logical AND operator. Java has a logical OR operator. Java has a logical NOT operator. Problem: Java has no … Read more
Java does have a logical XOR operator, it is ^ (as in a ^ b). Apart from that, you can’t define new operators in Java. Edit: Here’s an … Read more