Posts by Thatah • 31 points
1 post
-
3
votes4
answers2743
viewsA: Javascript has a xor operator?
Look, in order not to have to convert to boolean, you can "improvise" a XOR using AND and if/Else. Here follows a code snippet, using two variables p and q. var p = false var q = true p =…
javascriptanswered Thatah 31