I solved a CodeWars (programming challenge site) question and compared my answer to other solutions.
I was introduced to a different way of solving a question with a boolean operation.
Be prepared to be blown away.
SPOILER ALERT!: Answers are shown below so proceed at your own discretion (or try to solve the question yourself first before proceeding to compare your answer)