2 ms·You wrap it in parens to avoid the warning: if ((x = 7)) { ... }by 613style 8y agoYou wrap it in parens to avoid the warning: if ((x = 7)) { ... }