discord.js

How to check all the conditions with 1 AND operator

How to check all the conditions with 1 AND operator Question: I want to check 2 conditions with just 1 AND operator. I tried the following: JavaScript: a = True b = False x = 3 if (x == 2 & a == true | b == false){ return; } With adjusted parentheses: a = …

Total answers: 2