Logical operations in JavaScript - SkillMacha