SyntaxFix
Write A Post
Hire A Developer
Questions
& and | are binary operators while || and && are boolean.
The big difference: (1 & 2) is 0, false (1 && 2) is true