4

Used a bit mask in my Javascript today. I wonder if it'll confuse whoever looks at it next (quite possibly me).

Comments
  • 0
    bit mask?
  • 0
    Yeah, it lets you check for simultaneous boolean conditions by using bitwise operators on a number. Hard to explain without an example.
Add Comment